Browse Source

fix(install): include loading state in canProceed

Jacky 2 months ago
parent
commit
205101caff
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/src/views/install/components/InstallView.vue

+ 2 - 2
app/src/views/install/components/InstallView.vue

@@ -12,7 +12,7 @@ const installTimeout = ref(false)
 const activeTab = ref('1')
 const step = ref(1)
 const selfCheckStore = useSelfCheckStore()
-const { hasError } = storeToRefs(selfCheckStore)
+const { hasError, loading } = storeToRefs(selfCheckStore)
 
 const router = useRouter()
 
@@ -51,7 +51,7 @@ function handleRestoreSuccess(options: { restoreNginx: boolean, restoreNginxUI:
 }
 
 const canProceed = computed(() => {
-  return !installTimeout.value && !hasError.value
+  return !installTimeout.value && !hasError.value && !loading.value
 })
 
 const steps = computed(() => {