Merge branch '14470-update-tree-pickers-to-handle-shared-items' into 14470-replace...
[arvados.git] / src / views-components / context-menu / action-sets / collection-files-not-selected-action-set.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { ContextMenuActionSet } from "~/views-components/context-menu/context-menu-action-set";
6 import { collectionPanelFilesAction } from "~/store/collection-panel/collection-panel-files/collection-panel-files-actions";
7
8 export const collectionFilesNotSelectedActionSet: ContextMenuActionSet = [[{
9     name: "Select all",
10     execute: dispatch => {
11         dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES());
12     }
13 }]];