X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/282b04b762cf6366209074333bfd623e3cba58c5..47f421fa743e2b4b09d4f0fbfbead00545e327d4:/src/store/shared-with-me-panel/shared-with-me-middleware-service.ts diff --git a/src/store/shared-with-me-panel/shared-with-me-middleware-service.ts b/src/store/shared-with-me-panel/shared-with-me-middleware-service.ts index 9e76d46d..551e2796 100644 --- a/src/store/shared-with-me-panel/shared-with-me-middleware-service.ts +++ b/src/store/shared-with-me-panel/shared-with-me-middleware-service.ts @@ -10,7 +10,7 @@ import { getDataExplorer, DataExplorer } from '~/store/data-explorer/data-explor import { updateFavorites } from '~/store/favorites/favorites-actions'; import { updateResources } from '~/store/resources/resources-actions'; import { loadMissingProcessesInformation, getFilters } from '~/store/project-panel/project-panel-middleware-service'; -import { snackbarActions } from '~/store/snackbar/snackbar-actions'; +import {snackbarActions, SnackbarKind} from '~/store/snackbar/snackbar-actions'; import { sharedWithMePanelActions } from './shared-with-me-panel-actions'; import { ListResults } from '~/services/common-service/common-service'; import { GroupContentsResource, GroupContentsResourcePrefix } from '~/services/groups-service/groups-service'; @@ -82,5 +82,6 @@ export const setItems = (listResults: ListResults) => const couldNotFetchSharedItems = () => snackbarActions.OPEN_SNACKBAR({ - message: 'Could not fetch shared items.' + message: 'Could not fetch shared items.', + kind: SnackbarKind.ERROR });