From 59f7c8574ec54d05f283dfdbb3fe8fa5c4c52588 Mon Sep 17 00:00:00 2001
From: vkovtun <vkovtun@ethz.ch>
Date: Thu, 20 Jul 2023 17:36:07 +0200
Subject: [PATCH] SSDM-13579: Fixed not shown directory icon.

---
 ui-admin/src/js/components/database/data-browser/ItemIcon.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-admin/src/js/components/database/data-browser/ItemIcon.jsx b/ui-admin/src/js/components/database/data-browser/ItemIcon.jsx
index 2ca86603b5c..727d47196d5 100644
--- a/ui-admin/src/js/components/database/data-browser/ItemIcon.jsx
+++ b/ui-admin/src/js/components/database/data-browser/ItemIcon.jsx
@@ -45,7 +45,7 @@ class ItemIcon extends React.Component {
   render() {
     const { classes, file } = this.props
 
-    if (file.folder) {
+    if (file.directory) {
       return <FolderIcon className={classes.icon} />
     } else {
       const iconType = this.extensionToIconType.get(
-- 
GitLab