Skip to content

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

chore(nc-gui): lint

Ramesh Maned7f7ad0ec0a8
diff --git a/packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue b/packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue
index d69085f030..56bfb0cda1 100644
--- a/packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue
+++ b/packages/nc-gui/components/dlg/ManagedApp/DraftOrPublish.vue
@@ -142,7 +142,7 @@ watch(
<template>
<div class="flex flex-col h-full">
- <DlgManagedAppHeader v-model:visible="vVisible" :title="title" :subTitle="subTitle" />
+ <DlgManagedAppHeader v-model:visible="vVisible" :title="title" :sub-title="subTitle" />
<div class="flex-1 p-6 nc-scrollbar-thin">
<NcAlert
diff --git a/packages/nc-gui/components/dlg/ManagedApp/Index.vue b/packages/nc-gui/components/dlg/ManagedApp/Index.vue
index 2f8bcf4592..544a103a99 100644
--- a/packages/nc-gui/components/dlg/ManagedApp/Index.vue
+++ b/packages/nc-gui/components/dlg/ManagedApp/Index.vue
@@ -39,7 +39,7 @@ const { modalSize, variant } = toRefs(props)
</template>
<template v-else>
<slot name="header">
- <DlgManagedAppHeader v-model:visible="vVisible" :modalSize="modalSize" :title="title" :subTitle="subTitle" />
+ <DlgManagedAppHeader v-model:visible="vVisible" :modal-size="modalSize" :title="title" :sub-title="subTitle" />
</slot>
<div class="flex-1 nc-scrollbar-thin" :class="contentClass">
diff --git a/packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue b/packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue
index 070cd1a7d7..660d9f4410 100644
--- a/packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue
+++ b/packages/nc-gui/components/dlg/ManagedApp/VersionHistory.vue
@@ -69,7 +69,7 @@ watch(
<template>
<div class="flex flex-col h-full">
- <DlgManagedAppHeader v-model:visible="vVisible" title="Version History" subTitle="Manage versions and track deployments" />
+ <DlgManagedAppHeader v-model:visible="vVisible" title="Version History" sub-title="Manage versions and track deployments" />
<div class="flex-1 nc-scrollbar-thin">
<div
@@ -127,7 +127,7 @@ watch(
<div class="nc-version-list">
<div
- v-for="(versionStat, index) in deploymentStats.versionStats"
+ v-for="versionStat in deploymentStats.versionStats"
:key="versionStat.versionId"
class="nc-version-item"
:class="{ 'nc-version-item-clickable': versionStat.deploymentCount > 0 }"
diff --git a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue b/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue
index 14f5902950..b68d193672 100644
--- a/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue
+++ b/packages/nc-gui/components/smartsheet/topbar/ManagedAppStatus/index.vue
@@ -5,8 +5,7 @@ const baseStore = useBase()
const { loadManagedApp, loadCurrentVersion } = baseStore
-const { base, isManagedAppMaster, isManagedAppInstaller, managedApp, currentVersion, liveVersion, managedAppVersionsInfo } =
- storeToRefs(baseStore)
+const { base, isManagedAppMaster, isManagedAppInstaller, managedAppVersionsInfo } = storeToRefs(baseStore)
const isModalVisible = ref(false)
diff --git a/packages/nc-gui/components/workspace/project/create/ManagedApp.vue b/packages/nc-gui/components/workspace/project/create/ManagedApp.vue
index fad9b47b3c..8bfcc57623 100644
--- a/packages/nc-gui/components/workspace/project/create/ManagedApp.vue
+++ b/packages/nc-gui/components/workspace/project/create/ManagedApp.vue
@@ -1,5 +1,5 @@
<script setup lang="ts">
-import { type FormDefinition, BaseVersion, FormBuilderValidatorType } from 'nocodb-sdk'
+import { BaseVersion, FormBuilderValidatorType, type FormDefinition } from 'nocodb-sdk'
import { FORM_BUILDER_NON_CATEGORIZED, FormBuilderInputType } from '#imports'
const props = defineProps<{
@@ -215,7 +215,7 @@ const { formState, isLoading, submit } = useProvideFormBuilderHelper({
<DlgManagedAppHeader
v-model:visible="visible"
:title="title || 'Create Managed App'"
- :subTitle="subTitle || $t('labels.publishToAppStore')"
+ :sub-title="subTitle || $t('labels.publishToAppStore')"
/>
<div class="flex-1 p-6 nc-scrollbar-thin">
diff --git a/packages/nc-gui/store/base.ts b/packages/nc-gui/store/base.ts
index 7b3b154338..e96916aae8 100644
--- a/packages/nc-gui/store/base.ts
+++ b/packages/nc-gui/store/base.ts
@@ -20,10 +20,6 @@ export const useBase = defineStore('baseStore', () => {
const managedApp = ref<any>(null)
- const currentVersion = ref<any>(null)
-
- const liveVersion = ref<any>(null)
-
const managedAppVersions = ref<any[]>([])
const managedAppVersionsInfo = computed(() => {})
@@ -362,8 +358,6 @@ export const useBase = defineStore('baseStore', () => {
isManagedAppInstaller,
managedApp,
loadManagedApp,
- currentVersion,
- liveVersion,
loadCurrentVersion,
managedAppVersions,
managedAppVersionsInfo,