mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-20 23:07:18 +00:00
Merge pull request #997 from SsageParuders/refactor/bedrock-channel-merge
refactor: merge bedrock-apikey into unified bedrock channel with auth_mode
This commit is contained in:
20 files changed
+347
-471
No files matched your search
@@ -953,7 +953,7 @@ const makeQuotaBar = (
|
||||
}
|
||||
|
||||
const hasApiKeyQuota = computed(() => {
|
||||
if (props.account.type !== 'apikey') return false
|
||||
if (props.account.type !== 'apikey' && props.account.type !== 'bedrock') return false
|
||||
return (
|
||||
(props.account.quota_daily_limit ?? 0) > 0 ||
|
||||
(props.account.quota_weekly_limit ?? 0) > 0 ||
|
||||
|
||||
Reference in new issue
Block a user