mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
619 B
31 lines
619 B
<script lang="ts" setup> |
|
definePageMeta({ |
|
hideHeader: true, |
|
hasSidebar: true, |
|
}) |
|
|
|
const dialogOpen = ref(false) |
|
|
|
const openDialogKey = ref<string>('') |
|
|
|
const dataSourcesState = ref<string>('') |
|
|
|
const baseId = ref<string>() |
|
|
|
function toggleDialog(value?: boolean, key?: string, dsState?: string, pId?: string) { |
|
dialogOpen.value = value ?? !dialogOpen.value |
|
openDialogKey.value = key || '' |
|
dataSourcesState.value = dsState || '' |
|
baseId.value = pId || '' |
|
} |
|
|
|
provide(ToggleDialogInj, toggleDialog) |
|
</script> |
|
|
|
<template> |
|
<div> |
|
<NuxtPage :transition="false" /> |
|
</div> |
|
</template> |
|
|
|
<style scoped></style>
|
|
|