mirror of https://github.com/nocodb/nocodb
Muhammed Mustafa
2 years ago
4 changed files with 27 additions and 1 deletions
@ -1,5 +1,13 @@
|
||||
<script setup lang="ts"> |
||||
const route = useRoute() |
||||
|
||||
const disableBaseLayout = $computed(() => { |
||||
return route.path.startsWith('/nc/view') || route.path.startsWith('/nc/form') |
||||
}) |
||||
</script> |
||||
|
||||
<template> |
||||
<NuxtLayout name="base"> |
||||
<NuxtLayout :name="disableBaseLayout ? false : 'base'"> |
||||
<NuxtPage /> |
||||
</NuxtLayout> |
||||
</template> |
||||
|
Loading…
Reference in new issue