Skip to content

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

chore(nc-gui): lint

Ramesh Mane07ac29552da9
diff --git a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue
index 3e18a7c352..0b171f7f3a 100644
--- a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue
+++ b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue
@@ -1228,7 +1228,7 @@ const bulkExecuteScript = async () => {
runScript((field.colOptions as ButtonType).fk_script_id!, row.row, {
pk,
fieldId: field.id,
- }).catch((e: any) => {
+ }).catch((_e: any) => {
// ignore - console error is logged in runScript
})
}
diff --git a/packages/nc-gui/components/workspace/CreateProjectDlg.vue b/packages/nc-gui/components/workspace/CreateProjectDlg.vue
index 3143a4312e..e595a57dbd 100644
--- a/packages/nc-gui/components/workspace/CreateProjectDlg.vue
+++ b/packages/nc-gui/components/workspace/CreateProjectDlg.vue
@@ -116,7 +116,7 @@ const onInit = () => {
}, 5)
}
-const onSandboxInstalled = async (sandbox: any) => {
+const onSandboxInstalled = async (_sandbox: any) => {
// Close the dialog and refresh the base list
dialogShow.value = false
refreshCommandPalette()
diff --git a/packages/nc-gui/composables/useLTARStore.ts b/packages/nc-gui/composables/useLTARStore.ts
index 0730e53e7f..c15dcc99aa 100644
--- a/packages/nc-gui/composables/useLTARStore.ts
+++ b/packages/nc-gui/composables/useLTARStore.ts
@@ -193,10 +193,6 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
return relatedTableDisplayValueColumn.value?.id || ''
})
- const relatedTablePrimaryKeyProps = computed(() => {
- return relatedTableMeta.value?.columns?.filter((c) => c.pk)?.map((c) => c.title) ?? []
- })
-
const displayValueProp = computed(() => {
return (meta.value?.columns?.find((c: Required<ColumnType>) => c.pv) || meta?.value?.columns?.[0])?.title
})