diff --git a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx index a4551f854..efc275e61 100644 --- a/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx +++ b/frontend/app/components/Dashboard/components/DashboardList/DashboardList.tsx @@ -9,7 +9,7 @@ import AnimatedSVG, { ICONS } from 'Shared/AnimatedSVG/AnimatedSVG'; function DashboardList() { const { dashboardStore } = useStore(); const list = dashboardStore.filteredList; - const dashboardsSearch = dashboardStore.dashboardsSearch; + const dashboardsSearch = dashboardStore.filter.query; const lenth = list.length; return ( @@ -18,17 +18,11 @@ function DashboardList() { title={
-
- {dashboardsSearch !== '' ? ( - 'No matching results' - ) : ( -
-
You haven't created any dashboards yet
-
- A Dashboard is a collection of Cards that can be shared across teams. -
-
- )} +
+ {dashboardsSearch !== '' ? 'No matching results' : "You haven't created any dashboards yet"} +
+
+ A Dashboard is a collection of Cards that can be shared across teams.
}