15768: removeMany request fires, still gettig 403 from server Arvados-DCO-1.1-Signed...
[arvados-workbench2.git] / src / store / processes / processes-actions.ts
index 195e9db6d30a5e6e5e6329db6ffb3d4036d479e3..8e481687626afd7dc4569ceec0328c2fa9a0891d 100644 (file)
@@ -299,7 +299,7 @@ export const openRemoveProcessDialog = (uuid: string) => (dispatch: Dispatch, ge
 export const openRemoveManyProcessesDialog = (list: Array<string>) => (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
     dispatch(
         dialogActions.OPEN_DIALOG({
-            id: REMOVE_PROCESS_DIALOG,
+            id: REMOVE_MANY_PROCESSES_DIALOG,
             data: {
                 title: 'Remove processes permanently',
                 text: `Are you sure you want to remove all ${list.length} processes?`,
@@ -311,6 +311,7 @@ export const openRemoveManyProcessesDialog = (list: Array<string>) => (dispatch:
 };
 
 export const REMOVE_PROCESS_DIALOG = 'removeProcessDialog';
+export const REMOVE_MANY_PROCESSES_DIALOG = 'removeManyProcessesDialog';
 
 export const removeProcessPermanently = (uuid: string) => async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
     dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Removing ...', kind: SnackbarKind.INFO }));