diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-01-30 22:37:44 -0500 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-01-30 22:37:44 -0500 |
commit | f93abfc577225cc04eb94d67c62eec67d7e22bca (patch) | |
tree | f55b1dce712b2c4585ccad56bd3af34ed7901213 /src/client/views/ContextMenu.tsx | |
parent | 2a7bd44a40b472f5a99c60fcb865aa67dcbe3983 (diff) |
changed hideSidebar to showSidebar. added contextmenu for choosing pivot field.
Diffstat (limited to 'src/client/views/ContextMenu.tsx')
-rw-r--r-- | src/client/views/ContextMenu.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/ContextMenu.tsx b/src/client/views/ContextMenu.tsx index ac803d977..4d04d4e89 100644 --- a/src/client/views/ContextMenu.tsx +++ b/src/client/views/ContextMenu.tsx @@ -134,13 +134,13 @@ export class ContextMenu extends React.Component { } @action - displayMenu = (x: number, y: number) => { + displayMenu = (x: number, y: number, initSearch = "") => { //maxX and maxY will change if the UI/font size changes, but will work for any amount //of items added to the menu this._pageX = x; this._pageY = y; - this._searchString = ""; + this._searchString = initSearch; this._shouldDisplay = true; } |