diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-29 16:39:17 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-29 16:39:17 -0400 |
| commit | 4f3c8cfab12f1c5fff27faa0998a286d210148d2 (patch) | |
| tree | bd3945a93693947599dbe9eaf60b5f5852e514d1 /src/client/views/nodes/KeyValuePair.tsx | |
| parent | f5a9d196a96f9a81436fa8de8659eaa51a131d81 (diff) | |
major restructure of how addDocTabs works. now you can add/replace with options for left/right/top/bottom and specific panel names
Diffstat (limited to 'src/client/views/nodes/KeyValuePair.tsx')
| -rw-r--r-- | src/client/views/nodes/KeyValuePair.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/KeyValuePair.tsx b/src/client/views/nodes/KeyValuePair.tsx index 6dd85b7f5..74d10d087 100644 --- a/src/client/views/nodes/KeyValuePair.tsx +++ b/src/client/views/nodes/KeyValuePair.tsx @@ -46,7 +46,7 @@ export class KeyValuePair extends React.Component<KeyValuePairProps> { if (value instanceof Doc) { e.stopPropagation(); e.preventDefault(); - ContextMenu.Instance.addItem({ description: "Open Fields", event: () => this.props.addDocTab(Docs.Create.KVPDocument(value, { _width: 300, _height: 300 }), "onRight"), icon: "layer-group" }); + ContextMenu.Instance.addItem({ description: "Open Fields", event: () => this.props.addDocTab(Docs.Create.KVPDocument(value, { _width: 300, _height: 300 }), "add:right"), icon: "layer-group" }); ContextMenu.Instance.displayMenu(e.clientX, e.clientY); } } |
