X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/41df718825e8a136eb2378a07aa60d572bdb00b4..fbbc53779fb3adf15d70936477aab771ee7caf42:/src/store/collections/collection-move-actions.ts diff --git a/src/store/collections/collection-move-actions.ts b/src/store/collections/collection-move-actions.ts index 9bdc5523..54508e13 100644 --- a/src/store/collections/collection-move-actions.ts +++ b/src/store/collections/collection-move-actions.ts @@ -8,7 +8,7 @@ import { startSubmit, stopSubmit, initialize } from 'redux-form'; import { ServiceRepository } from '~/services/services'; import { RootState } from '~/store/store'; import { getCommonResourceServiceError, CommonResourceServiceError } from "~/services/common-service/common-resource-service"; -import { snackbarActions, SnackbarKind } from '~/store/snackbar/snackbar-actions'; +import { snackbarActions } from '~/store/snackbar/snackbar-actions'; import { projectPanelActions } from '~/store/project-panel/project-panel-action'; import { MoveToFormDialogData } from '~/store/move-to-dialog/move-to-dialog'; import { resetPickerProjectTree } from '~/store/project-tree-picker/project-tree-picker-actions'; @@ -32,11 +32,6 @@ export const moveCollection = (resource: MoveToFormDialogData) => await services.collectionService.update(resource.uuid, { ...collection, ownerUuid: resource.ownerUuid }); dispatch(projectPanelActions.REQUEST_ITEMS()); dispatch(dialogActions.CLOSE_DIALOG({ id: COLLECTION_MOVE_FORM_NAME })); - dispatch(snackbarActions.OPEN_SNACKBAR({ - message: 'Collection has been moved', - hideDuration: 2000, - kind: SnackbarKind.SUCCESS - })); dispatch(progressIndicatorActions.STOP_WORKING(COLLECTION_MOVE_FORM_NAME)); return collection; } catch (e) {