20382: added one stray file to marge Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa...
authorLisa Knox <lisaknox83@gmail.com>
Thu, 19 Oct 2023 17:49:02 +0000 (13:49 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Thu, 19 Oct 2023 17:49:02 +0000 (13:49 -0400)
src/store/context-menu/context-menu-actions.ts

index 4cad2962f0f85125260c95ad36dbdf923376f021..18845ace76e1092a099f55437f02b418a3b4b186 100644 (file)
@@ -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>(