From e19b0a79ca8a337ca70bfd65ccf34018b7685c93 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 18 Sep 2022 11:05:41 +0200 Subject: [PATCH] chore(nc-gui): update previewAs type --- packages/nc-gui/composables/useGlobal/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/composables/useGlobal/types.ts b/packages/nc-gui/composables/useGlobal/types.ts index 18939fb7df..8a232b6d65 100644 --- a/packages/nc-gui/composables/useGlobal/types.ts +++ b/packages/nc-gui/composables/useGlobal/types.ts @@ -1,7 +1,7 @@ import type { ComputedRef, Ref, ToRefs } from 'vue' import type { WritableComputedRef } from '@vue/reactivity' import type { JwtPayload } from 'jwt-decode' -import type { Language, User } from '~/lib' +import type { Language, Role, User } from '~/lib' import type { useCounter } from '#imports' export interface FeedbackForm { @@ -33,7 +33,7 @@ export interface StoredState { darkMode: boolean feedbackForm: FeedbackForm filterAutoSave: boolean - previewAs: string | null + previewAs: Role | null includeM2M: boolean currentVersion: string | null latestRelease: string | null