[ARVADOS-WORKBENCH2] updated: 2.2.1-80-g3bb4ad6f
Git user
git at public.arvados.org
Thu Sep 23 19:58:38 UTC 2021
Summary of changes:
.../collection-panel-files/collection-panel-files.tsx | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
via 3bb4ad6f8d2986a087cbfa3701b80887bab082ec (commit)
from c258ddf845adb99ef1af626036d31438fc5c0c70 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 3bb4ad6f8d2986a087cbfa3701b80887bab082ec
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Thu Sep 23 21:58:02 2021 +0200
17585: Added arrow to left panel for the selected folder
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
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))} <div className={classes.rowName}>{name}</div>
+ key={id}>
+ {getItemIcon(type, getActiveClass(name))}
+ <div className={classes.rowName}>
+ {name}
+ </div>
+ {
+ getActiveClass(name) ? <SidePanelRightArrowIcon
+ style={{ display: 'inline', marginTop: '5px', marginLeft: '5px' }} /> : null
+ }
</div>;
}
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list