Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

chore(nc-gui): lint

Ramesh Maneaf1db78717e2
diff --git a/packages/nc-gui/components/cell/attachment/index.vue b/packages/nc-gui/components/cell/attachment/index.vue
index 77f78b28f2..afd3451e64 100644
--- a/packages/nc-gui/components/cell/attachment/index.vue
+++ b/packages/nc-gui/components/cell/attachment/index.vue
@@ -379,7 +379,9 @@ onUnmounted(() => {
>
<template #entity-preview>
<span>
- <div class="flex flex-row items-center py-2.25 px-2.5 bg-nc-bg-gray-extralight rounded-lg text-nc-content-gray-subtle mb-4">
+ <div
+ class="flex flex-row items-center py-2.25 px-2.5 bg-nc-bg-gray-extralight rounded-lg text-nc-content-gray-subtle mb-4"
+ >
<GeneralIcon icon="file" class="nc-view-icon"></GeneralIcon>
<div
class="capitalize text-ellipsis overflow-hidden select-none w-full pl-1.75"
diff --git a/packages/nc-gui/components/dashboard/View.vue b/packages/nc-gui/components/dashboard/View.vue
index dda8f4d46f..fe99ff5b24 100644
--- a/packages/nc-gui/components/dashboard/View.vue
+++ b/packages/nc-gui/components/dashboard/View.vue
@@ -369,4 +369,4 @@ const isMiniSidebarVisible = computed(() => {
transition: none !important;
}
}
-</style>
\ No newline at end of file
+</style>
diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue b/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue
index bd4c074bf9..9a604f4360 100644
--- a/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue
+++ b/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue
@@ -138,7 +138,10 @@ function shouldShowRaw(key: string) {
</div>
<div class="flex items-center gap-2 mt-3 flex-wrap">
<template v-if="meta[columnKey]?.type === 'Attachment'">
- <div v-if="processOldDataFor(columnKey)?.length > 0" class="border-1 border-nc-border-red rounded-md bg-nc-bg-red-light w-full p-0.5">
+ <div
+ v-if="processOldDataFor(columnKey)?.length > 0"
+ class="border-1 border-nc-border-red rounded-md bg-nc-bg-red-light w-full p-0.5"
+ >
<div class="flex flex-col items-start gap-0.5">
<div
v-for="(item, i) of processOldDataFor(columnKey)"
diff --git a/packages/nc-gui/components/smartsheet/expanded-form/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/index.vue
index 82aa21aedf..953f795505 100644
--- a/packages/nc-gui/components/smartsheet/expanded-form/index.vue
+++ b/packages/nc-gui/components/smartsheet/expanded-form/index.vue
@@ -726,7 +726,10 @@ export default {
<a-skeleton-input active class="!h-6 !sm:mr-14 !w-52 !rounded-md !overflow-hidden" size="small" />
</div>
<div v-else class="flex-1 flex items-center gap-2 xs:(flex-row-reverse justify-end) min-w-0">
- <div v-if="!props.showNextPrevIcons" class="hidden md:flex items-center rounded-lg bg-nc-bg-gray-light px-2 py-1 gap-2">
+ <div
+ v-if="!props.showNextPrevIcons"
+ class="hidden md:flex items-center rounded-lg bg-nc-bg-gray-light px-2 py-1 gap-2"
+ >
<GeneralIcon icon="table" class="text-nc-content-inverted-secondary flex-none" />
<span class="nc-expanded-form-table-name whitespace-nowrap">
{{ tableTitle }}
@@ -800,7 +803,11 @@ export default {
</NcTooltip>
<NcDropdown v-if="!isNew && rowId && !isMobileMode" placement="bottomRight">
<NcButton type="text" size="xsmall" class="nc-expand-form-more-actions !w-7 !h-7" :disabled="isLoading">
- <GeneralIcon icon="threeDotVertical" class="text-md" :class="isLoading ? 'text-nc-content-brand-hover' : 'text-nc-content-inverted-secondary'" />
+ <GeneralIcon
+ icon="threeDotVertical"
+ class="text-md"
+ :class="isLoading ? 'text-nc-content-brand-hover' : 'text-nc-content-inverted-secondary'"
+ />
</NcButton>
<template #overlay>
<NcMenu variant="small">
@@ -942,7 +949,9 @@ export default {
<GeneralDeleteModal v-model:visible="showDeleteRowModal" entity-name="Record" :on-delete="onConfirmDeleteRowClick">
<template #entity-preview>
<span>
- <div class="flex flex-row items-center py-2.25 px-2.5 bg-nc-bg-gray-extralight rounded-lg text-nc-content-inverted-secondary">
+ <div
+ class="flex flex-row items-center py-2.25 px-2.5 bg-nc-bg-gray-extralight rounded-lg text-nc-content-inverted-secondary"
+ >
<div class="text-ellipsis overflow-hidden select-none w-full pl-1.75 break-keep whitespace-nowrap">
<LazySmartsheetPlainCell v-model="displayValue" :column="displayField" />
</div>
diff --git a/packages/nc-gui/components/smartsheet/expanded-form/presentors/Fields/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/presentors/Fields/index.vue
index a9dfa6675a..0391d002c0 100644
--- a/packages/nc-gui/components/smartsheet/expanded-form/presentors/Fields/index.vue
+++ b/packages/nc-gui/components/smartsheet/expanded-form/presentors/Fields/index.vue
@@ -75,7 +75,11 @@ export default {
<div v-if="!isNew && isMobileMode" class="p-2">
<NcDropdown placement="bottomRight" class="p-2">
<NcButton :disabled="isLoading" class="nc-expand-form-more-actions" type="secondary" size="small">
- <GeneralIcon :class="isLoading ? 'text-nc-content-brand-hover' : 'text-nc-content-gray-subtle'" class="text-md" icon="threeDotVertical" />
+ <GeneralIcon
+ :class="isLoading ? 'text-nc-content-brand-hover' : 'text-nc-content-gray-subtle'"
+ class="text-md"
+ icon="threeDotVertical"
+ />
</NcButton>
<template #overlay>