From a00f9424fb242f23b73e598715c1b55291c26a04 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Mon, 19 Oct 2020 12:01:46 -0300 Subject: [PATCH] 13494: Minor UI fixes. * Removes useless 'Size' field on the collections detail pane. * Adds version number field. * Avoids event propagation on the collection icon so that when clicked it just opens the detail pane without collapsing the info pane. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- src/views/collection-panel/collection-panel.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/collection-panel/collection-panel.tsx b/src/views/collection-panel/collection-panel.tsx index f41e8967..d3566f36 100644 --- a/src/views/collection-panel/collection-panel.tsx +++ b/src/views/collection-panel/collection-panel.tsx @@ -261,9 +261,10 @@ export const CollectionPanel = withStyles(styles)( this.props.dispatch(deleteCollectionTag(key, value)); } - openCollectionDetails = () => { + openCollectionDetails = (e: React.MouseEvent) => { const { item } = this.props; if (item) { + e.stopPropagation(); this.props.dispatch(openDetailsPanel(item.uuid)); } } -- 2.30.2