Browse Source

chore(nc-gui): lint

pull/6314/head
Wing-Kam Wong 1 year ago
parent
commit
2ca8ea8897
  1. 2
      packages/nc-gui/components/dlg/AirtableImport.vue
  2. 4
      packages/nc-gui/components/smartsheet/toolbar/SearchData.vue
  3. 2
      packages/nc-gui/components/tabs/Smartsheet.vue

2
packages/nc-gui/components/dlg/AirtableImport.vue

@ -27,7 +27,7 @@ const emit = defineEmits(['update:modelValue'])
const { $api } = useNuxtApp() const { $api } = useNuxtApp()
const baseURL = $api.instance.defaults.baseURL; const baseURL = $api.instance.defaults.baseURL
const { $state, $jobs } = useNuxtApp() const { $state, $jobs } = useNuxtApp()

4
packages/nc-gui/components/smartsheet/toolbar/SearchData.vue

@ -67,7 +67,7 @@ watch(
() => search.value.field, () => search.value.field,
() => { () => {
onPressEnter() onPressEnter()
} },
) )
watchDebounced( watchDebounced(
@ -98,7 +98,7 @@ watchDebounced(
{{ displayColumnLabel }} {{ displayColumnLabel }}
</div> </div>
<div class="hidden group-hover:block"> <div class="hidden group-hover:block">
<component :is="iconMap.arrowDown" class="text-gray-400 text-sm" /> <component :is="iconMap.arrowDown" class="text-gray-400 text-sm" />
</div> </div>
<a-select <a-select
v-model:value="search.field" v-model:value="search.field"

2
packages/nc-gui/components/tabs/Smartsheet.vue

@ -163,7 +163,7 @@ const onDrop = async (event: DragEvent) => {
<template> <template>
<div class="nc-container flex flex-col h-full" @drop="onDrop" @dragover.prevent> <div class="nc-container flex flex-col h-full" @drop="onDrop" @dragover.prevent>
<LazySmartsheetTopbar /> <LazySmartsheetTopbar />
<TabsSmartsheetResizable style="height: calc(100% - var(--topbar-height));"> <TabsSmartsheetResizable style="height: calc(100% - var(--topbar-height))">
<template #content> <template #content>
<div v-if="openedViewsTab === 'view'" class="flex flex-col h-full flex-1 min-w-0"> <div v-if="openedViewsTab === 'view'" class="flex flex-col h-full flex-1 min-w-0">
<LazySmartsheetToolbar v-if="!isForm" /> <LazySmartsheetToolbar v-if="!isForm" />

Loading…
Cancel
Save