diff options
| author | bobzel <zzzman@gmail.com> | 2020-10-08 00:44:43 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-10-08 00:44:43 -0400 |
| commit | a722aab6a65ad8d222ec3d576497ce9687cac966 (patch) | |
| tree | 8988ad4821047d6603727439ff6430b8bec926f9 /src/client/views/collections/CollectionMenu.tsx | |
| parent | 192e23a2ae335a5f0de361eed9a24a5d08547217 (diff) | |
fixed adding/removing schema columns. fixed showing text/ink tools in menu at right time. cleaned up schema view a bit and fixed drag bar from disappearing when shown in full tab.
Diffstat (limited to 'src/client/views/collections/CollectionMenu.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionMenu.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx index 4bdb233c9..429764154 100644 --- a/src/client/views/collections/CollectionMenu.tsx +++ b/src/client/views/collections/CollectionMenu.tsx @@ -528,9 +528,7 @@ export class CollectionFreeFormViewChrome extends React.Component<CollectionMenu return SelectionManager.SelectedDocuments().length ? SelectionManager.SelectedDocuments()[0] : undefined; } @computed get selectedDoc() { return this.selectedDocumentView?.rootDoc; } - @computed get isText() { - return this.selectedDoc?.type === DocumentType.RTF || RichTextMenu.Instance?.view ? true : false; - } + @computed get isText() { return this.selectedDoc?.type === DocumentType.RTF || RichTextMenu.Instance?.view ? true : false; } @undoBatch @action |
