diff --git a/assets/js/src/common/tabs/routed_tabs.tsx b/assets/js/src/common/tabs/routed_tabs.tsx
index 80a144cb56..6ad6f520cf 100644
--- a/assets/js/src/common/tabs/routed_tabs.tsx
+++ b/assets/js/src/common/tabs/routed_tabs.tsx
@@ -39,7 +39,7 @@ const RouterAwareTabs = (props: TabProps & {
};
type Props = TabProps & {
- routerType?: 'hash' | 'browser',
+ routerType?: 'hash' | 'browser' | 'switch-only',
routerPrefix?: string,
};
@@ -86,6 +86,10 @@ const RoutedTabs = ({
>
);
+ if (routerType === 'switch-only') {
+ return routedTabs;
+ }
+
return routerType === 'browser'
? {routedTabs}
: {routedTabs};