Skip to content

Commit

Permalink
fix(RHINENG-3653): Replace Group Column text field (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
adonispuente authored Nov 30, 2023
1 parent e9af8e5 commit 849e932
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/store/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ export const defaultColumns = () => [
title: 'Group',
props: { width: 10 },
// eslint-disable-next-line camelcase
renderFunc: (groups) => (isEmpty(groups) ? 'N/A' : groups[0].name), // currently, one group at maximum is supported
renderFunc: (groups) =>
isEmpty(groups) ? (
<div className="pf-v5-u-disabled-color-200">No group</div>
) : (
groups[0].name
), // currently, one group at maximum is supported
transforms: [fitContent],
},
{
Expand Down

0 comments on commit 849e932

Please sign in to comment.