Skip to content

Commit

Permalink
fix(ui): display principal on acls tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Apr 19, 2021
1 parent 21a8574 commit 94cbf11
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/src/containers/Topic/Topic/TopicAcls/TopicAcls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 || ''
Expand All @@ -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
},
Expand Down

0 comments on commit 94cbf11

Please sign in to comment.