diff --git a/frontend/src/app/App.js b/frontend/src/app/App.js index edd71a16..9e11ea5e 100644 --- a/frontend/src/app/App.js +++ b/frontend/src/app/App.js @@ -252,6 +252,29 @@ function App() { )} + + {role == ACCOUNT_TYPE.ADMIN ? ( +
+ + Looker insights + +
+ ) : ( + <> + {cur_time - startPathTime > 100 && ( + + )} + + )} +
{role == ACCOUNT_TYPE.SUPPORT ? ( diff --git a/frontend/src/utils/hooks/useSidebars.js b/frontend/src/utils/hooks/useSidebars.js index b505619e..e95958a0 100644 --- a/frontend/src/utils/hooks/useSidebars.js +++ b/frontend/src/utils/hooks/useSidebars.js @@ -311,6 +311,11 @@ export default function useSidebars(userType, user, t) { } } const adminSidebar = [ + { + label: "Dashboard", + key: `dashboard`, + icon: , + }, { label: t("common.group_message"), key: `admin_group_messages`,