Merge pull request #3278 from 315944211/feat/show-account-id-in-admin-list

feat: show account id in account list
This commit is contained in:
Wesley Liddick authored and GitHub committed 2026-06-16 20:35:55 +08:00
commit eba9bea959
3 files changed
+7

No files matched your search

@@ -210,6 +210,9 @@
<template #cell-select="{ row }">
<input type="checkbox" :checked="isSelected(row.id)" @change="toggleSel(row.id)" class="rounded border-gray-300 text-primary-600 focus:ring-primary-500" />
</template>
<template #cell-id="{ value }">
<span class="font-mono text-xs text-gray-500 dark:text-gray-400">#{{ value }}</span>
</template>
<template #cell-name="{ row, value }">
<div class="flex flex-col">
<span class="font-medium text-gray-900 dark:text-white">{{ value }}</span>
@@ -526,6 +529,7 @@ type AccountSortState = {
sort_order: AccountSortOrder
}
const ACCOUNT_SORTABLE_KEYS = new Set([
'id',
'name',
'status',
'schedulable',
@@ -1136,6 +1140,7 @@ const allColumns = computed(() => {
const c = [
{ key: 'select', label: '', sortable: false },
{ key: 'name', label: t('admin.accounts.columns.name'), sortable: true },
{ key: 'id', label: t('admin.accounts.columns.id'), sortable: true },
{ key: 'platform_type', label: t('admin.accounts.columns.platformType'), sortable: false },
{ key: 'capacity', label: t('admin.accounts.columns.capacity'), sortable: false },
{ key: 'status', label: t('admin.accounts.columns.status'), sortable: true },