From: Daniel Kutyła Date: Thu, 23 Sep 2021 19:58:02 +0000 (+0200) Subject: 17585: Added arrow to left panel for the selected folder X-Git-Tag: 2.3.0~1^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/3bb4ad6f8d2986a087cbfa3701b80887bab082ec 17585: Added arrow to left panel for the selected folder Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- diff --git a/src/components/collection-panel-files/collection-panel-files.tsx b/src/components/collection-panel-files/collection-panel-files.tsx index adec50f6..97cbc8ce 100644 --- a/src/components/collection-panel-files/collection-panel-files.tsx +++ b/src/components/collection-panel-files/collection-panel-files.tsx @@ -17,7 +17,7 @@ import { RootState } from 'store/store'; import { WebDAV, WebDAVRequestConfig } from 'common/webdav'; import { AuthState } from 'store/auth/auth-reducer'; import { extractFilesData } from 'services/collection-service/collection-service-files-response'; -import { DefaultIcon, DirectoryIcon, FileIcon, BackIcon } from 'components/icon/icon'; +import { DefaultIcon, DirectoryIcon, FileIcon, BackIcon, SidePanelRightArrowIcon } from 'components/icon/icon'; import { setCollectionFiles } from 'store/collection-panel/collection-panel-files/collection-panel-files-actions'; import { sortBy } from 'lodash'; import { formatFileSize } from 'common/formatters'; @@ -489,7 +489,15 @@ export const CollectionPanelFiles = withStyles(styles)(connect((state: RootState data-type={type} data-parent-path={name} className={classNames(classes.row, getActiveClass(name))} - key={id}>{getItemIcon(type, getActiveClass(name))}
{name}
+ key={id}> + {getItemIcon(type, getActiveClass(name))} +
+ {name} +
+ { + getActiveClass(name) ? : null + } ; } }