From cb26c96eef27e678cfc8f00bcc99a2880dae3072 Mon Sep 17 00:00:00 2001 From: LTbinglingfeng Date: Mon, 25 May 2026 02:31:23 +0800 Subject: [PATCH] fix(providers): label missing authIndex as not-set instead of unavailable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The detail metadata section was rendering authIndex with the status.notAvailable label (zh: "不可用"), which reads like the provider doesn't support the feature at all. Every provider supports authIndex; it's just absent until you link an auth file. Reuse the status.notSet label so the wording matches baseUrl / proxyUrl and makes it clear that the entry simply doesn't have a value yet. --- src/features/providers/sheets/ResourceDetailView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/providers/sheets/ResourceDetailView.tsx b/src/features/providers/sheets/ResourceDetailView.tsx index 5287821..e331b89 100644 --- a/src/features/providers/sheets/ResourceDetailView.tsx +++ b/src/features/providers/sheets/ResourceDetailView.tsx @@ -20,7 +20,7 @@ export function ResourceDetailView({ resource }: ResourceDetailViewProps) { ]; const metadata: Array<[string, string]> = [ - ['authIndex', resource.authIndex ?? t('providersPage.status.notAvailable')], + ['authIndex', resource.authIndex ?? t('providersPage.status.notSet')], ['excludedModels', String(resource.excludedModelCount)], ['apiKeyEntries', String(resource.apiKeyEntryCount)], ];