mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
fix(accounts): show account names in delete confirmation
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -33,6 +33,7 @@ import { useAccountMutations } from './composables/useAccountMutations'
|
||||
import { useAccountsQuery } from './composables/useAccountsQuery'
|
||||
import { useAccountsTable } from './composables/useAccountsTable'
|
||||
import { accountColumns } from './constants'
|
||||
import { accountIdentityLabel } from './utils/accountIdentity'
|
||||
|
||||
const { t } = useI18n({ useScope: 'global' })
|
||||
|
||||
@@ -500,10 +501,7 @@ const {
|
||||
@confirm="handleDelete"
|
||||
>
|
||||
<p class="m-0">
|
||||
{{ t('accounts.page.delete', { value: pendingDeleteAccount?.email
|
||||
|| pendingDeleteAccount?.accountId
|
||||
|| pendingDeleteAccount?.id
|
||||
|| t('accounts.page.thisAccount') }) }}
|
||||
{{ t('accounts.page.delete', { value: pendingDeleteAccount ? accountIdentityLabel(pendingDeleteAccount) : t('accounts.page.thisAccount') }) }}
|
||||
</p>
|
||||
</ZConfirmDialog>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user