Merge branch '21705-go-deps-update-all'
[arvados.git] / services / workbench2 / 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, ContextMenuActionNames } 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: ContextMenuActionNames.SELECT_ALL,
11     icon: SelectAllIcon,
12     execute: dispatch => {
13         dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES());
14     }
15 }]];