Browse Source

sync 0000

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/6229/head
Raju Udava 1 year ago
parent
commit
af663c4a12
  1. 5
      packages/nc-gui/composables/useSharedFormViewStore.ts
  2. 1
      packages/nc-gui/store/views.ts

5
packages/nc-gui/composables/useSharedFormViewStore.ts

@ -9,7 +9,6 @@ import type {
LinkToAnotherRecordType,
StringOrNullType,
TableType,
ViewType,
} from 'nocodb-sdk'
import { ErrorMessages, RelationTypes, UITypes, isLinksOrLTAR, isVirtualCol } from 'nocodb-sdk'
import { isString } from '@vue/shared'
@ -28,6 +27,7 @@ import {
useMetas,
useProject,
useProvideSmartsheetRowStore,
useViewsStore,
watch,
} from '#imports'
import type { SharedViewMeta } from '#imports'
@ -41,9 +41,10 @@ const [useProvideSharedFormStore, useSharedFormStore] = useInjectionState((share
const passwordError = ref<string | null>(null)
const secondsRemain = ref(0)
const { sharedView } = storeToRefs(useViewsStore())
provide(SharedViewPasswordInj, password)
const sharedView = ref<ViewType>()
const sharedFormView = ref<FormType>()
const meta = ref<TableType>()
const columns =

1
packages/nc-gui/store/views.ts

@ -129,6 +129,7 @@ export const useViewsStore = defineStore('viewsStore', () => {
activeView,
openedViewsTab,
onViewsTabChange,
sharedView,
}
})

Loading…
Cancel
Save