diff options
| author | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-10 17:42:44 -0500 |
|---|---|---|
| committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-10 17:42:44 -0500 |
| commit | 096718ee546afbd7568bf8ec9e23dca0556d814d (patch) | |
| tree | 484e9890a18c9d5e1addbe517610bfa3b9ea2451 /src/client/views/search | |
| parent | 50d351d4178297eba0c917fb3a1959a073127c44 (diff) | |
| parent | fe06511da85a9483c10353f0cc5d54b70a265079 (diff) | |
merged
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchItem.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx index 0be583358..1007102f6 100644 --- a/src/client/views/search/SearchItem.tsx +++ b/src/client/views/search/SearchItem.tsx @@ -7,7 +7,7 @@ import { observer } from "mobx-react"; import { Doc } from "../../../new_fields/Doc"; import { Id } from "../../../new_fields/FieldSymbols"; import { Cast, NumCast, StrCast } from "../../../new_fields/Types"; -import { emptyFunction, returnEmptyString, returnFalse, returnOne, Utils } from "../../../Utils"; +import { emptyFunction, returnEmptyString, returnFalse, returnOne, Utils, emptyPath } from "../../../Utils"; import { DocumentType } from "../../documents/DocumentTypes"; import { DocumentManager } from "../../util/DocumentManager"; import { DragManager, SetupDrag } from "../../util/DragManager"; @@ -160,7 +160,7 @@ export class SearchItem extends React.Component<SearchItemProps> { onPointerLeave={action(() => this._displayDim = 50)} > <DocumentView Document={this.props.doc} - LibraryPath={[]} + LibraryPath={emptyPath} fitToBox={StrCast(this.props.doc.type).indexOf(DocumentType.COL) !== -1} addDocument={returnFalse} removeDocument={returnFalse} |
