From: Pawel Kowalczyk Date: Fri, 4 Jan 2019 10:42:17 +0000 (+0100) Subject: Merge branch 'master' into 14604-ui-improvements X-Git-Tag: 1.4.0~64^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/71b9264c1720e619f8cfcb297a7848ece420c61c Merge branch 'master' into 14604-ui-improvements refs #14604 Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk --- 71b9264c1720e619f8cfcb297a7848ece420c61c diff --cc src/views/collection-panel/collection-panel.tsx index 4124344d,4ec39ca8..3557afe5 --- a/src/views/collection-panel/collection-panel.tsx +++ b/src/views/collection-panel/collection-panel.tsx @@@ -169,10 -177,21 +177,22 @@@ export const CollectionPanel = withStyl onCopy = () => { this.props.dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Uuid has been copied", - hideDuration: 2000 + hideDuration: 2000, + kind: SnackbarKind.SUCCESS })); } + + openCollectionDetails = () => { + const { item } = this.props; + if (item) { + this.props.dispatch(openDetailsPanel(item.uuid)); + } + } + + titleProps = { + onClick: this.openCollectionDetails + }; + } ) );