Browse Source

chore(gui-v2): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3091/head
Pranav C 2 years ago
parent
commit
d2e24be878
  1. 3
      packages/nc-gui-v2/components/general/PreviewAs.vue
  2. 5
      packages/nc-gui-v2/pages/nc/[projectId]/index.vue

3
packages/nc-gui-v2/components/general/PreviewAs.vue

@ -1,7 +1,6 @@
<script lang="ts" setup>
import { onUnmounted } from '@vue/runtime-core'
import { onUnmounted, useEventListener, useGlobal, watch } from '#imports'
import { useState } from '#app'
import { useEventListener, useGlobal, watch } from '#imports'
import MdiAccountStar from '~icons/mdi/account-star'
import MdiAccountHardHat from '~icons/mdi/account-hard-hat'
import MdiAccountEdit from '~icons/mdi/account-edit'

5
packages/nc-gui-v2/pages/nc/[projectId]/index.vue

@ -1,6 +1,5 @@
<script setup lang="ts">
import { navigateTo, provideSidebar, ref, useProject, useRoute, useSidebar, useTabs, useUIPermission } from '#imports'
import PreviewAs from '~/components/general/PreviewAs.vue'
import { TabType } from '~/composables'
import { openLink } from '~/utils'
@ -178,7 +177,7 @@ await loadTables()
<template #expandIcon></template>
<PreviewAs />
<GeneralPreviewAs />
</a-sub-menu>
</a-menu-item-group>
</a-menu>
@ -214,7 +213,7 @@ await loadTables()
<NuxtPage />
<PreviewAs float />
<GeneralPreviewAs float />
</NuxtLayout>
</template>

Loading…
Cancel
Save