Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: update condition

DarkPhoenix2704bfbc3c1bf1fe
diff --git a/packages/nc-gui/utils/routeUtils.ts b/packages/nc-gui/utils/routeUtils.ts
index 686b1e7a0f..c53e1e8307 100644
--- a/packages/nc-gui/utils/routeUtils.ts
+++ b/packages/nc-gui/utils/routeUtils.ts
@@ -8,7 +8,7 @@ import { type RouteLocationNormalizedLoadedGeneric } from 'vue-router'
export const isSharedViewRoute = (route: RouteLocationNormalizedLoadedGeneric) => {
if (!route) return false
- return route.meta.layout === 'shared-view'
+ return route.meta.pageType === 'shared-view'
}
/**