diff --git a/interface/src/app/main/Dashboard.tsx b/interface/src/app/main/Dashboard.tsx
index 60908ff8e..137a29b9b 100644
--- a/interface/src/app/main/Dashboard.tsx
+++ b/interface/src/app/main/Dashboard.tsx
@@ -1,9 +1,9 @@
import { useContext, useEffect, useState } from 'react';
import { IconContext } from 'react-icons/lib';
+import { Link } from 'react-router';
import { toast } from 'react-toastify';
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
-import ConstructionIcon from '@mui/icons-material/Construction';
import EditIcon from '@mui/icons-material/Edit';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import UnfoldLessIcon from '@mui/icons-material/UnfoldLess';
@@ -22,7 +22,7 @@ import { Body, Cell, Row, Table } from '@table-library/react-table-library/table
import { useTheme } from '@table-library/react-table-library/theme';
import { CellTree, useTree } from '@table-library/react-table-library/tree';
import { useRequest } from 'alova/client';
-import { FormLoader, SectionContent, useLayoutTitle } from 'components';
+import { FormLoader, MessageBox, SectionContent, useLayoutTitle } from 'components';
import { AuthenticatedContext } from 'contexts/authentication';
import { useI18nContext } from 'i18n/i18n-react';
import { useInterval, usePersistState } from 'utils';
@@ -224,6 +224,10 @@ const Dashboard = () => {
return ;
}
+ const hasFavEntities = data.filter(
+ (item: DashboardItem) => item.id <= 90
+ ).length;
+
return (
<>
{
- {LL.DASHBOARD_1()}
-
+ {LL.DASHBOARD_1()}
@@ -262,27 +263,40 @@ const Dashboard = () => {
-
-
+
+ {LL.NO_DATA_1()}
+
+ {LL.CUSTOMIZATIONS()}
+
+ {LL.NO_DATA_2()}
+ {LL.NO_DATA_3()}
+
+ {LL.DEVICES()}
+
+ .
+
+
+ )}
+
+ {data.length > 0 && (
+
- {!loading && data.length === 0 ? (
-
- {LL.NO_DATA()}
-
- ) : (
+