|
210 | 210 | <template #cell-select="{ row }"> |
211 | 211 | <input type="checkbox" :checked="isSelected(row.id)" @change="toggleSel(row.id)" class="rounded border-gray-300 text-primary-600 focus:ring-primary-500" /> |
212 | 212 | </template> |
| 213 | + <template #cell-id="{ value }"> |
| 214 | + <span class="font-mono text-xs text-gray-500 dark:text-gray-400">#{{ value }}</span> |
| 215 | + </template> |
213 | 216 | <template #cell-name="{ row, value }"> |
214 | 217 | <div class="flex flex-col"> |
215 | 218 | <span class="font-medium text-gray-900 dark:text-white">{{ value }}</span> |
@@ -526,6 +529,7 @@ type AccountSortState = { |
526 | 529 | sort_order: AccountSortOrder |
527 | 530 | } |
528 | 531 | const ACCOUNT_SORTABLE_KEYS = new Set([ |
| 532 | + 'id', |
529 | 533 | 'name', |
530 | 534 | 'status', |
531 | 535 | 'schedulable', |
@@ -1136,6 +1140,7 @@ const allColumns = computed(() => { |
1136 | 1140 | const c = [ |
1137 | 1141 | { key: 'select', label: '', sortable: false }, |
1138 | 1142 | { key: 'name', label: t('admin.accounts.columns.name'), sortable: true }, |
| 1143 | + { key: 'id', label: t('admin.accounts.columns.id'), sortable: true }, |
1139 | 1144 | { key: 'platform_type', label: t('admin.accounts.columns.platformType'), sortable: false }, |
1140 | 1145 | { key: 'capacity', label: t('admin.accounts.columns.capacity'), sortable: false }, |
1141 | 1146 | { key: 'status', label: t('admin.accounts.columns.status'), sortable: true }, |
|
0 commit comments