diff --git a/src/frontend/src/components/operator/AuditTable.vue b/src/frontend/src/components/operator/AuditTable.vue index f42b76c..2539d9b 100644 --- a/src/frontend/src/components/operator/AuditTable.vue +++ b/src/frontend/src/components/operator/AuditTable.vue @@ -56,6 +56,11 @@ function changesOf(row) { return Array.isArray(row.changes) ? row.changes : [] } +// Вторая строка колонки пользователя: имя пространства, иначе id. +function tenantSubline(row) { + return row.userName && row.tenantName ? row.tenantName : row.tenantId || '—' +} + function hasFrom(change) { return change.from !== null && change.from !== undefined } @@ -119,9 +124,9 @@ function pretty(json) { {{ actorLabel(row.actorType) }} diff --git a/src/frontend/src/views/operator/LimitsSection.vue b/src/frontend/src/views/operator/LimitsSection.vue index 3c3c0b5..4afc7a2 100644 --- a/src/frontend/src/views/operator/LimitsSection.vue +++ b/src/frontend/src/views/operator/LimitsSection.vue @@ -85,8 +85,8 @@ const percentTone = (v) => (v >= 100 ? 'bg-danger/70' : v >= 80 ? 'bg-warn/70' : :empty="$t('operator.net-dannyh-o-limitah')" >