Browse Source

fix: use `storeToRefs` to get reactive variable

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5274/head
Pranav C 2 years ago
parent
commit
13b9a7cb0f
  1. 3
      packages/nc-gui/components/dashboard/settings/Metadata.vue

3
packages/nc-gui/components/dashboard/settings/Metadata.vue

@ -1,5 +1,6 @@
<script setup lang="ts">
import { Empty, extractSdkResponseErrorMsg, h, message, useI18n, useNuxtApp, useProject } from '#imports'
import { storeToRefs } from 'pinia'
const props = defineProps<{
baseId: string
@ -11,7 +12,7 @@ const { $api } = useNuxtApp()
const projectStore = useProject()
const { loadTables } = projectStore
const { project } = projectStore
const { project } = storeToRefs(projectStore)
const { t } = useI18n()

Loading…
Cancel
Save