fix: subtitle

This commit is contained in:
Gabe
2025-10-10 21:17:51 +08:00
parent 3844d2eb75
commit 001f04a9ee
6 changed files with 133 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ export function useApiList() {
);
const aiEnabledApis = useMemo(
() => enabledApis.filter((api) => API_SPE_TYPES.ai.has(api.apiSlug)),
() => enabledApis.filter((api) => API_SPE_TYPES.ai.has(api.apiType)),
[enabledApis]
);
@@ -124,6 +124,7 @@ export function useApiItem(apiSlug) {
apiSlug: item.apiSlug,
apiName: item.apiName,
apiType: item.apiType,
key: item.key,
};
}
return item;