projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6796b44
)
20382: added one stray file to marge Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
author
Lisa Knox <lisaknox83@gmail.com>
Thu, 19 Oct 2023 17:49:02 +0000
(13:49 -0400)
committer
Lisa Knox <lisaknox83@gmail.com>
Thu, 19 Oct 2023 17:49:02 +0000
(13:49 -0400)
src/store/context-menu/context-menu-actions.ts
patch
|
blob
|
history
diff --git
a/src/store/context-menu/context-menu-actions.ts
b/src/store/context-menu/context-menu-actions.ts
index 4cad2962f0f85125260c95ad36dbdf923376f021..18845ace76e1092a099f55437f02b418a3b4b186 100644
(file)
--- a/
src/store/context-menu/context-menu-actions.ts
+++ b/
src/store/context-menu/context-menu-actions.ts
@@
-70,7
+70,6
@@
export const openContextMenu = (event: React.MouseEvent<HTMLElement>, resource:
export const openCollectionFilesContextMenu =
(event: React.MouseEvent<HTMLElement>, isWritable: boolean) => (dispatch: Dispatch, getState: () => RootState) => {
- const isCollectionFileSelected = JSON.stringify(getState().collectionPanelFiles).includes('"selected":true');
const selectedCount = filterCollectionFilesBySelection(getState().collectionPanelFiles, true).length;
const multiple = selectedCount > 1;
dispatch<any>(