Browse Source

chore(nc-gui): lint

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
8f2e5f05b1
  1. 1
      packages/nc-gui/components/cell/TextArea.vue
  2. 3
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  3. 6
      packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue
  4. 2
      packages/nc-gui/components/webhook/Editor.vue

1
packages/nc-gui/components/cell/TextArea.vue

@ -45,6 +45,7 @@ const focus: VNodeRef = (el) => (el as HTMLTextAreaElement)?.focus()
<span v-else>{{ vModel }}</span>
</template>
<style>
textarea:focus {
box-shadow: none;

3
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -333,8 +333,7 @@ export default {
:ref="i ? null : (el) => (cellWrapperEl = el)"
class="!bg-white rounded px-1 min-h-[35px] flex items-center mt-2 relative"
>
<LazySmartsheetVirtualCell v-if="isVirtualCol(col)" v-model="row.row[col.title]" :row="row"
:column="col" />
<LazySmartsheetVirtualCell v-if="isVirtualCol(col)" v-model="row.row[col.title]" :row="row" :column="col" />
<LazySmartsheetCell
v-else

6
packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue

@ -199,7 +199,11 @@ defineExpose({
<template>
<div
class="p-4 menu-filter-dropdown bg-gray-50 !border"
:class="{ 'min-w-[430px]': filters.length, 'shadow max-h-[max(80vh,500px)] overflow-auto': !nested, 'border-1 w-full': nested }"
:class="{
'min-w-[430px]': filters.length,
'shadow max-h-[max(80vh,500px)] overflow-auto': !nested,
'border-1 w-full': nested,
}"
>
<div
v-if="filters && filters.length"

2
packages/nc-gui/components/webhook/Editor.vue

@ -651,9 +651,9 @@ onMounted(loadPluginList)
</a-checkbox>
<LazySmartsheetToolbarColumnFilter
class="mt-4"
v-if="hook.condition"
ref="filterRef"
class="mt-4"
:auto-save="false"
:show-loading="false"
:hook-id="hook.id"

Loading…
Cancel
Save