From 3bb4ad6f8d2986a087cbfa3701b80887bab082ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Thu, 23 Sep 2021 21:58:02 +0200 Subject: [PATCH 1/1] 17585: Added arrow to left panel for the selected folder MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- .../collection-panel-files.tsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 + } ; } } -- 2.30.2