Skip to content

Commit

Permalink
Fix bug for crRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte committed Mar 2, 2025
1 parent 1605f67 commit b4f5a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/layouts/DashboardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface DashboardLayoutProps {
export const DashboardLayout: React.FC<DashboardLayoutProps> = ({ children }) => {
const isMobile = !useBreakpoint('md');
const { line, page, query, tab } = useDelimitatedRoute();
const { busRoute } = query;
const { busRoute, crRoute } = query;
const dateStoreSection = page ? ALL_PAGES[page]?.dateStoreSection : undefined;
const showControlParams =
dateStoreSection && (line || tab === 'System') && dateStoreSection !== 'today';
Expand Down

0 comments on commit b4f5a5d

Please sign in to comment.