Browse Source

chore/gui-v2-user-management-cleanup

pull/2854/head
Muhammed Mustafa 2 years ago
parent
commit
3c592db6fb
  1. 2
      packages/nc-gui-v2/composables/useGlobalState/index.ts
  2. 6
      packages/nc-gui-v2/plugins/init.ts

2
packages/nc-gui-v2/composables/useGlobalState/index.ts

@ -1,7 +1,7 @@
import { breakpointsTailwind, usePreferredLanguages, useStorage } from '@vueuse/core'
import { useJwt } from '@vueuse/integrations/useJwt'
import type { JwtPayload } from 'jwt-decode'
import initialFeedBackForm from './initialFeedBackForm'
import initialFeedBackForm from './initialFeedbackForm'
import { computed, ref, toRefs, useBreakpoints, useNuxtApp, useTimestamp, watch } from '#imports'
import type { Actions, Getters, GlobalState, StoredState, User } from '~/lib/types'

6
packages/nc-gui-v2/plugins/init.ts

@ -37,10 +37,6 @@ const handleFeedbackForm = async () => {
}
}
const handleInitFunctions = async () => {
export default defineNuxtPlugin(async () => {
await handleFeedbackForm()
}
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(handleInitFunctions)
})

Loading…
Cancel
Save