X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a3d23b09663e49a187f3505f1dd41c97f3d79d51..71b9264c1720e619f8cfcb297a7848ece420c61c:/src/views/collection-panel/collection-panel.tsx diff --git a/src/views/collection-panel/collection-panel.tsx b/src/views/collection-panel/collection-panel.tsx index 4ec39ca84d..3557afe574 100644 --- a/src/views/collection-panel/collection-panel.tsx +++ b/src/views/collection-panel/collection-panel.tsx @@ -18,7 +18,7 @@ import { CollectionPanelFiles } from '~/views-components/collection-panel-files/ import * as CopyToClipboard from 'react-copy-to-clipboard'; import { CollectionTagForm } from './collection-tag-form'; import { deleteCollectionTag, navigateToProcess } from '~/store/collection-panel/collection-panel-action'; -import { snackbarActions } from '~/store/snackbar/snackbar-actions'; +import {snackbarActions, SnackbarKind} from '~/store/snackbar/snackbar-actions'; import { getResource } from '~/store/resources/resources'; import { openContextMenu } from '~/store/context-menu/context-menu-actions'; import { ContextMenuKind } from '~/views-components/context-menu/context-menu'; @@ -177,7 +177,8 @@ export const CollectionPanel = withStyles(styles)( onCopy = () => { this.props.dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Uuid has been copied", - hideDuration: 2000 + hideDuration: 2000, + kind: SnackbarKind.SUCCESS })); }