Skip to content

Commit

Permalink
RHIROS-1302 enable group sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
PreetiW committed Nov 28, 2023
1 parent e378de7 commit 7fdd5df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Routes/RosPage/RosPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class RosPage extends React.Component {

this.sortingHeader = {
display_name: 'display_name', /* eslint-disable-line camelcase */
group_name: 'group_name', /* eslint-disable-line camelcase */
groups: 'group_name', /* eslint-disable-line camelcase */
os: 'os',
'performance_utilization.cpu': 'cpu',
'performance_utilization.memory': 'memory',
Expand Down Expand Up @@ -94,8 +94,7 @@ class RosPage extends React.Component {
renderFunc: (data) => displayGroup(data),
isChecked: true,
isDisabled: false,
isShownByDefault: true,
props: { isStatic: true }
isShownByDefault: true
});

}
Expand Down
1 change: 1 addition & 0 deletions src/Utilities/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export const fetchSystems = async (fetchParams) => {

const sortingHeader = {
display_name: 'display_name', /* eslint-disable-line camelcase */
groups: 'group_name', /* eslint-disable-line camelcase */
os: 'os',
'performance_utilization.cpu': 'cpu',
'performance_utilization.memory': 'memory',
Expand Down

0 comments on commit 7fdd5df

Please sign in to comment.