Merge branch '21128-toolbar-context-menu'
[arvados-workbench2.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 import { SelectAllIcon } from "components/icon/icon";
8
9 export const collectionFilesNotSelectedActionSet: ContextMenuActionSet = [[{
10     name: "Select all",
11     icon: SelectAllIcon,
12     execute: dispatch => {
13         dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES());
14     }
15 }]];