Skip to content

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

chore: lint

Ramesh Mane1853c095b1d2
diff --git a/packages/nc-gui/components/dashboard/TreeView/Views/List.vue b/packages/nc-gui/components/dashboard/TreeView/Views/List.vue
index f826447cf7..e4f7f98769 100644
--- a/packages/nc-gui/components/dashboard/TreeView/Views/List.vue
+++ b/packages/nc-gui/components/dashboard/TreeView/Views/List.vue
@@ -49,8 +49,6 @@ const views = computed(() => {
return viewsByTable.value.get(key) ?? []
})
-const { api } = useApi()
-
const { refreshCommandPalette } = useCommandPalette()
const { addUndo, defineModelScope } = useUndoRedo()
diff --git a/packages/nc-gui/composables/useNocoAi.ts b/packages/nc-gui/composables/useNocoAi.ts
index 831f1f7c4f..250ae02144 100644
--- a/packages/nc-gui/composables/useNocoAi.ts
+++ b/packages/nc-gui/composables/useNocoAi.ts
@@ -315,13 +315,13 @@ export const useNocoAi = createSharedComposable(() => {
column:
| string
| {
- title: string
- prompt_raw: string
- fk_integration_id: string
- uidt: string
- model?: string
- output_column_ids?: string
- },
+ title: string
+ prompt_raw: string
+ fk_integration_id: string
+ uidt: string
+ model?: string
+ output_column_ids?: string
+ },
rowIds: string[],
skipMsgToast = false,
preview = false,
diff --git a/packages/nc-gui/store/dashboard.ts b/packages/nc-gui/store/dashboard.ts
index 6266c265a2..2f46de5ad6 100644
--- a/packages/nc-gui/store/dashboard.ts
+++ b/packages/nc-gui/store/dashboard.ts
@@ -23,7 +23,7 @@ export const useDashboardStore = defineStore('dashboard', () => {
const duplicateDashboard = async (..._params: any) => null
- async function openNewDashboardModal(..._params: any) { }
+ async function openNewDashboardModal(..._params: any) {}
return {
// State
diff --git a/packages/nc-gui/store/ui/tooltip.ts b/packages/nc-gui/store/ui/tooltip.ts
index f7c5f368f8..2c489d6667 100644
--- a/packages/nc-gui/store/ui/tooltip.ts
+++ b/packages/nc-gui/store/ui/tooltip.ts
@@ -98,9 +98,9 @@ export const useTooltipStore = defineStore('tooltip', () => {
const tooltipWithDescription =
ncIsString(text) && description
? h('div', { class: 'flex flex-col gap-1' }, [
- h('div', { class: 'text-captionBold' }, text),
- h('div', { class: 'text-captionSm' }, description),
- ])
+ h('div', { class: 'text-captionBold' }, text),
+ h('div', { class: 'text-captionSm' }, description),
+ ])
: text
showTooltip({ text: tooltipWithDescription, rect, mousePosition, placement })
diff --git a/packages/nc-gui/store/views.ts b/packages/nc-gui/store/views.ts
index f82baa4ca3..cbfe7f6dfc 100644
--- a/packages/nc-gui/store/views.ts
+++ b/packages/nc-gui/store/views.ts
@@ -310,7 +310,7 @@ export const useViewsStore = defineStore('viewsStore', () => {
const slugs = doNotSwitchTab ? router.currentRoute.value.params.slugs || [] : []
if (ncIsArray(slugs)) {
- ; (slugs as string[])[0] = getViewReadableUrlSlug({ tableTitle, viewOrViewTitle: view })
+ ;(slugs as string[])[0] = getViewReadableUrlSlug({ tableTitle, viewOrViewTitle: view })
}
if (
diff --git a/packages/nc-gui/store/workflow.ts b/packages/nc-gui/store/workflow.ts
index a702d1ea44..628459deb5 100644
--- a/packages/nc-gui/store/workflow.ts
+++ b/packages/nc-gui/store/workflow.ts
@@ -11,21 +11,21 @@ export const useWorkflowStore = defineStore('workflow', () => {
const activeWorkflow = computed(() => null)
// Actions
- const loadWorkflows = async (..._args: any[]) => { }
+ const loadWorkflows = async (..._args: any[]) => {}
- const loadWorkflow = async (..._args: any[]) => { }
+ const loadWorkflow = async (..._args: any[]) => {}
- const createWorkflow = async (..._args: any[]) => { }
+ const createWorkflow = async (..._args: any[]) => {}
- const updateWorkflow = async (..._args: any[]) => { }
+ const updateWorkflow = async (..._args: any[]) => {}
- const deleteWorkflow = async (..._args: any[]) => { }
+ const deleteWorkflow = async (..._args: any[]) => {}
- const openWorkflow = async (..._args: any[]) => { }
+ const openWorkflow = async (..._args: any[]) => {}
- const duplicateWorkflow = async (..._args: any[]) => { }
+ const duplicateWorkflow = async (..._args: any[]) => {}
- async function openNewWorkflowModal(..._args: any[]) { }
+ async function openNewWorkflowModal(..._args: any[]) {}
return {
// State