From 6a91293700fe96542162e0678c68fcc837f978ac Mon Sep 17 00:00:00 2001
From: vkovtun <viktor.kovtun@id.ethz.ch>
Date: Mon, 26 Jun 2023 16:31:34 +0200
Subject: [PATCH] SSDM-13579: Fixed filtering issue.

---
 .../src/js/components/database/data-browser/DataBrowser.jsx   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ui-admin/src/js/components/database/data-browser/DataBrowser.jsx b/ui-admin/src/js/components/database/data-browser/DataBrowser.jsx
index 16c123b8780..5d03c641716 100644
--- a/ui-admin/src/js/components/database/data-browser/DataBrowser.jsx
+++ b/ui-admin/src/js/components/database/data-browser/DataBrowser.jsx
@@ -177,8 +177,8 @@ class DataBrowser extends React.Component {
                   name: 'name',
                   label: 'Name',
                   sortable: true,
-                  getValue: ({ row }) => row,
-                  renderValue: ({ value }) => <><ItemIcon file={value} classes={{ icon: classes.icon }} configuration={configuration} /> {value.name}</>,
+                  getValue: ({ row }) => row.name,
+                  renderValue: ({ row }) => <><ItemIcon file={row} classes={{ icon: classes.icon }} configuration={configuration} /> {row.name}</>,
                   renderFilter: null
                 },
                 {
-- 
GitLab