Merge pull request #107 from YasinKose/main
Feat(ui): add Turkish language support and UI enhancements Introduces Turkish language support and several UI/UX improvements to the web management interface.
This commit is contained in:
@@ -11,6 +11,8 @@ window.Components.accountManager = () => ({
|
||||
toggling: false,
|
||||
deleting: false,
|
||||
reloading: false,
|
||||
selectedAccountEmail: '',
|
||||
selectedAccountLimits: {},
|
||||
|
||||
get filteredAccounts() {
|
||||
const accounts = Alpine.store('data').accounts || [];
|
||||
@@ -174,6 +176,12 @@ window.Components.accountManager = () => ({
|
||||
}, this, 'reloading', { errorMessage: 'Failed to reload accounts' });
|
||||
},
|
||||
|
||||
openQuotaModal(account) {
|
||||
this.selectedAccountEmail = account.email;
|
||||
this.selectedAccountLimits = account.limits || {};
|
||||
document.getElementById('quota_modal').showModal();
|
||||
},
|
||||
|
||||
/**
|
||||
* Get main model quota for display
|
||||
* Prioritizes flagship models (Opus > Sonnet > Flash)
|
||||
|
||||
Reference in New Issue
Block a user