feat(webui): keep the Model setup step open until the provider credential resolves (#1045)
This commit is contained in:
4 files changed
+481
-91
No files matched your search
@@ -39,8 +39,11 @@ const pct = computed(() => {
|
||||
<li v-for="(step, i) in steps" :key="i" class="flex items-center gap-2">
|
||||
<Check v-if="step.done" class="size-3.5 shrink-0 text-ok" aria-label="Done" />
|
||||
<Circle v-else class="size-3.5 shrink-0 text-fg-subtle" aria-label="To do" />
|
||||
<RouterLink v-if="!step.done && step.path" :to="step.path" class="font-medium hover:underline">{{ step.title }}</RouterLink>
|
||||
<span v-else :class="step.done ? 'text-fg-muted' : 'font-medium'">{{ step.title }}</span>
|
||||
<span class="flex min-w-0 flex-col">
|
||||
<RouterLink v-if="!step.done && step.path" :to="step.path" class="font-medium hover:underline">{{ step.title }}</RouterLink>
|
||||
<span v-else :class="step.done ? 'text-fg-muted' : 'font-medium'">{{ step.title }}</span>
|
||||
<span v-if="step.detail" class="text-xs text-fg-subtle">{{ step.detail }}</span>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</Section>
|
||||
|
||||
Reference in new issue
Block a user