21224: removed vestigial imports Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox...
authorLisa Knox <lisaknox83@gmail.com>
Fri, 9 Feb 2024 16:12:14 +0000 (11:12 -0500)
committerLisa Knox <lisaknox83@gmail.com>
Fri, 9 Feb 2024 16:12:14 +0000 (11:12 -0500)
services/workbench2/src/components/multiselect-toolbar/MultiselectToolbar.tsx
services/workbench2/src/components/multiselect-toolbar/ms-kind-action-differentiator.ts
services/workbench2/src/components/multiselect-toolbar/ms-toolbar-action-filters.ts

index ce4d7af9be2d9de63fb56be429964638e9cd7b40..e9104ef26cd0adb6d128fdcc95067f3b0bdfaba9 100644 (file)
@@ -105,7 +105,7 @@ export const MultiselectToolbar = connect(
     mapDispatchToProps
 )(
     withStyles(styles)((props: MultiselectToolbarProps & WithStyles<CssRules>) => {
-        const { classes, checkedList, inputSelectedUuid, iconProps, user, disabledButtons, auth } = props;
+        const { classes, checkedList, inputSelectedUuid, iconProps, user, disabledButtons } = props;
         const singleSelectedUuid = inputSelectedUuid ?? props.singleSelectedUuid
         const singleResourceKind = singleSelectedUuid ? [resourceToMsResourceKind(singleSelectedUuid, iconProps.resources, user)] : null
         const currentResourceKinds = singleResourceKind ? singleResourceKind : Array.from(selectedToKindSet(checkedList));
index 3a173b2af9d591291048fe569c9046715c735dd5..5a84d4c573f711a46a4a4665b9acbcff5bf2f18f 100644 (file)
@@ -13,7 +13,7 @@ export function findActionByName(name: string, actionSet: MultiSelectMenuActionS
     return actionSet[0].find(action => action.name === name);
 }
 
-const { COLLECTION, PROCESS, PROJECT, WORKFLOW , USER} = ResourceKind;
+const { COLLECTION, PROCESS, PROJECT, WORKFLOW } = ResourceKind;
 
 export const kindToActionSet: Record<string, MultiSelectMenuActionSet> = {
     [COLLECTION]: msCollectionActionSet,
index 21572863829e9d60f6ea33faf415c9da288b07dc..9faba269363c54d9d49c6b5fbd269bd5feb1c8bb 100644 (file)
@@ -83,8 +83,6 @@ const {
     FILTER_GROUP_ADMIN,
     WORKFLOW,
     READONLY_WORKFLOW,
-    ROOT_PROJECT,
-    ROOT_PROJECT_ADMIN,
 } = msMenuResourceKind;
 
 export type TMultiselectActionsFilters = Record<string, [MultiSelectMenuActionSet, Set<string>]>;