Skip to content

Commit

Permalink
fix(ClusterRules): description chip category name (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkarat authored Mar 10, 2022
1 parent 3a51995 commit 976a5ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Components/ClusterRules/ClusterRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const ClusterRules = ({ reports }) => {
...(item[1].length > 0
? [
{
category: 'Name',
category: intl.formatMessage(messages.description),
chips: [{ name: item[1], value: item[1] }],
urlParam: item[0],
},
Expand Down
2 changes: 0 additions & 2 deletions src/Components/ClusterRules/ClusterRules.spec.ct.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,6 @@ describe('cluster rules table', () => {
// check chips
for (const [k, v] of Object.entries(filters)) {
let groupName = filtersConf[k].selectorText;
// TODO remove this change CCXDEV-7192
groupName = groupName == 'Description' ? 'Name' : groupName;
const nExpectedItems =
filtersConf[k].type === 'checkbox' ? v.length : 1;
cy.get(CHIP_GROUP)
Expand Down

0 comments on commit 976a5ab

Please sign in to comment.