From 94cbf1103776ae322e9a5a86b8fd37eb887a1aed Mon Sep 17 00:00:00 2001 From: tchiotludo Date: Mon, 19 Apr 2021 21:44:18 +0200 Subject: [PATCH] fix(ui): display principal on acls tabs --- client/src/containers/Topic/Topic/TopicAcls/TopicAcls.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/containers/Topic/Topic/TopicAcls/TopicAcls.jsx b/client/src/containers/Topic/Topic/TopicAcls/TopicAcls.jsx index 6a10c4d7b..900a00d57 100644 --- a/client/src/containers/Topic/Topic/TopicAcls/TopicAcls.jsx +++ b/client/src/containers/Topic/Topic/TopicAcls/TopicAcls.jsx @@ -28,6 +28,7 @@ class TopicAcls extends Root { principal.acls.forEach((acl, index) => { tableAcls.push({ id: index, + principal: principal.principal, topic: acl.resource.name || '', host: acl.host || '', permission: acl.operation || '' @@ -47,9 +48,9 @@ class TopicAcls extends Root { history={this.props.history} columns={[ { - id: 'topic', - accessor: 'topic', - colName: 'Topic', + id: 'principal', + accessor: 'principal', + colName: 'Principal', type: 'text', sortable: true },