diff --git a/apps/web-tss/src/api/buster_rest/dashboards/dashboardVersionNumber.ts b/apps/web-tss/src/api/buster_rest/dashboards/dashboardVersionNumber.ts index 4ac17441f..be60451d1 100644 --- a/apps/web-tss/src/api/buster_rest/dashboards/dashboardVersionNumber.ts +++ b/apps/web-tss/src/api/buster_rest/dashboards/dashboardVersionNumber.ts @@ -20,7 +20,7 @@ export const useGetDashboardVersionNumber = ( // Get the dashboard_version_number query param from the route const paramVersionNumber = useSearch({ - from: '/app/dashboards/$dashboardId', + from: '/app/_app/dashboards/$dashboardId', select: stableVersionSearchSelector, }); diff --git a/apps/web-tss/src/api/buster_rest/metrics/metricVersionNumber.ts b/apps/web-tss/src/api/buster_rest/metrics/metricVersionNumber.ts index 2b7c82ee6..0e5fd3320 100644 --- a/apps/web-tss/src/api/buster_rest/metrics/metricVersionNumber.ts +++ b/apps/web-tss/src/api/buster_rest/metrics/metricVersionNumber.ts @@ -20,7 +20,7 @@ export const useGetMetricVersionNumber = ( // Get the metric_version_number query param from the route const paramVersionNumber = useSearch({ - from: '/app/metrics/$metricId', + from: '/app/_app/metrics/$metricId', select: stableVersionSearchSelector, }); diff --git a/apps/web-tss/src/api/buster_rest/reports/reportVersionNumber.ts b/apps/web-tss/src/api/buster_rest/reports/reportVersionNumber.ts index c537453ff..b1c81904d 100644 --- a/apps/web-tss/src/api/buster_rest/reports/reportVersionNumber.ts +++ b/apps/web-tss/src/api/buster_rest/reports/reportVersionNumber.ts @@ -19,7 +19,7 @@ export const useGetReportVersionNumber = ( }); const paramVersionNumber = useSearch({ - from: '/app/reports/$reportId', + from: '/app/_app/reports/$reportId', select: stableVersionSearchSelector, }); diff --git a/apps/web-tss/src/components/features/sidebars/SidebarPrimary.tsx b/apps/web-tss/src/components/features/sidebars/SidebarPrimary.tsx index 4a28ed196..ab2a1bb4e 100644 --- a/apps/web-tss/src/components/features/sidebars/SidebarPrimary.tsx +++ b/apps/web-tss/src/components/features/sidebars/SidebarPrimary.tsx @@ -39,10 +39,8 @@ import { Sidebar } from '@/components/ui/sidebar/Sidebar'; import { Tooltip } from '@/components/ui/tooltip/Tooltip'; import { useContactSupportModalStore, useInviteModalStore } from '@/context/BusterAppLayout'; import { toggleContactSupportModal } from '@/context/BusterAppLayout/useContactSupportModalStore'; +import { toggleInviteModal } from '@/context/BusterAppLayout/useInviteModalStore'; import { cn } from '@/lib/classMerge'; -import { Route as AppHomeRoute } from '@/routes/app.home'; -import { Route as AppSettingsRoute } from '@/routes/app.settings.profile'; -import { toggleInviteModal } from '../../../context/BusterAppLayout/useInviteModalStore'; import { ASSET_ICONS } from '../icons/assetIcons'; // import { InvitePeopleModal } from '../modal/InvitePeopleModal'; // import { SupportModal } from '../modal/SupportModal'; @@ -215,19 +213,19 @@ const SidebarPrimaryHeader: React.FC<{ hideActions?: boolean }> = ({ hideActions return (
- + {!hideActions && (
- +