Skip to content

Commit

Permalink
fix: Group title
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Jan 30, 2025
1 parent f0771cc commit 2014630
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/src/customizations/volto/components/manage/Controlpanels/Groups/RenderGroups.jsx b/src/customizations/volto/components/manage/Controlpanels/Groups/RenderGroups.jsx
index 816ad59..3b4df8f 100644
--- a/src/customizations/volto/components/manage/Controlpanels/Groups/RenderGroups.jsx
+++ b/src/customizations/volto/components/manage/Controlpanels/Groups/RenderGroups.jsx
@@ -77,7 +77,9 @@ class RenderGroups extends Component {
render() {
return (
<Table.Row key={this.props.group.title}>
- <Table.Cell>{this.props.group.groupname}</Table.Cell>
+ <Table.Cell>
+ {this.props.group.title || this.props.group.groupname}
+ </Table.Cell>
{this.props.roles.map((role) => (
<Table.Cell key={role.id}>
{this.props.inheritedRole &&
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ class RenderGroups extends Component {
render() {
return (
<Table.Row key={this.props.group.title}>
<Table.Cell>{this.props.group.groupname}</Table.Cell>
<Table.Cell>
{this.props.group.title || this.props.group.groupname}
</Table.Cell>
{this.props.roles.map((role) => (
<Table.Cell key={role.id}>
{this.props.inheritedRole &&
Expand Down

0 comments on commit 2014630

Please sign in to comment.