diff options
| author | bobzel <zzzman@gmail.com> | 2023-04-04 20:12:16 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-04-04 20:12:16 -0400 |
| commit | c5c2c309cd88bbeb2f1b668cb040cffaac9c8470 (patch) | |
| tree | 61ec6173e7e6aea136e2b901d8924afbe1043e2e /src/client/views/TemplateMenu.tsx | |
| parent | 95c076b64a816c6bd503089f90234f8ce078eae8 (diff) | |
fixed using freeformview in sidebar of pdfs. fixed issues with dragging items out of schema and with selecting the schema view by clicking on headers. Fixed a lot of errors caused by using OmitKeys which masks type checking. fixed some pointerevent problems with treeview and freeformview
Diffstat (limited to 'src/client/views/TemplateMenu.tsx')
| -rw-r--r-- | src/client/views/TemplateMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/TemplateMenu.tsx b/src/client/views/TemplateMenu.tsx index 681ff66e0..45db240a9 100644 --- a/src/client/views/TemplateMenu.tsx +++ b/src/client/views/TemplateMenu.tsx @@ -79,7 +79,7 @@ export class TemplateMenu extends React.Component<TemplateMenuProps> { }; componentDidMount() { !this._addedKeys && (this._addedKeys = new ObservableSet()); - Array.from(Object.keys(Doc.GetProto(this.props.docViews[0].props.Document))) + [...Array.from(Object.keys(Doc.GetProto(this.props.docViews[0].props.Document))), ...Array.from(Object.keys(this.props.docViews[0].props.Document))] .filter(key => key.startsWith('layout_')) .map(key => runInAction(() => this._addedKeys.add(key.replace('layout_', '')))); } |
