From 0b798005fd4e917ecad4a961d638e1062f618d2c Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 1 Sep 2020 00:06:09 -0400 Subject: fixed shortcut buttons not showing up. fixed nex/prev search buttons not showing up. fixed search drag/delete/open buttons not showing up. --- src/client/views/collections/CollectionSchemaCells.tsx | 2 +- src/client/views/collections/CollectionSchemaView.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/views/collections') diff --git a/src/client/views/collections/CollectionSchemaCells.tsx b/src/client/views/collections/CollectionSchemaCells.tsx index 0d3a951cf..18ae260e8 100644 --- a/src/client/views/collections/CollectionSchemaCells.tsx +++ b/src/client/views/collections/CollectionSchemaCells.tsx @@ -514,7 +514,7 @@ export class CollectionSchemaCheckboxCell extends CollectionSchemaCell { @observer export class CollectionSchemaButtons extends CollectionSchemaCell { render() { - return !this._rowDoc._searchDoc || ![DocumentType.PDF, DocumentType.RTF].includes(StrCast(this._rowDoc.type) as DocumentType) ? <> : + return !this.props.Document._searchDoc || ![DocumentType.PDF, DocumentType.RTF].includes(StrCast(this._rowDoc.type) as DocumentType) ? <> :