21448: replaced all context menu names with string constants Arvados-DCO-1.1-Signed...
[arvados.git] / services / workbench2 / src / views-components / context-menu / action-sets / collection-files-not-selected-action-set.ts
index 1e31d11c800742eac41659e502513aeb39d4d86f..b457efdf9a58faa9838dc7fa8b75255023dec483 100644 (file)
@@ -2,12 +2,12 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set";
+import { ContextMenuActionSet, ContextMenuActionNames } from "views-components/context-menu/context-menu-action-set";
 import { collectionPanelFilesAction } from "store/collection-panel/collection-panel-files/collection-panel-files-actions";
 import { SelectAllIcon } from "components/icon/icon";
 
 export const collectionFilesNotSelectedActionSet: ContextMenuActionSet = [[{
-    name: "Select all",
+    name: ContextMenuActionNames.SELECT_ALL,
     icon: SelectAllIcon,
     execute: dispatch => {
         dispatch(collectionPanelFilesAction.SELECT_ALL_COLLECTION_FILES());