diff --git a/src/components/GroupSystems/GroupSystems.cy.js b/src/components/GroupSystems/GroupSystems.cy.js index 703d79f41..f3eb7af61 100644 --- a/src/components/GroupSystems/GroupSystems.cy.js +++ b/src/components/GroupSystems/GroupSystems.cy.js @@ -304,6 +304,7 @@ describe('actions', () => { beforeEach(() => { cy.intercept('*', { statusCode: 200 }); hostsInterceptors.successful(); + featureFlagsInterceptors.successful(); // make Groups col available mountTable(); diff --git a/src/components/InventoryGroups/Modals/AddSystemsToGroupModal.js b/src/components/InventoryGroups/Modals/AddSystemsToGroupModal.js index 828f8328e..d239d2b74 100644 --- a/src/components/InventoryGroups/Modals/AddSystemsToGroupModal.js +++ b/src/components/InventoryGroups/Modals/AddSystemsToGroupModal.js @@ -44,7 +44,8 @@ export const prepareColumns = (initialColumns) => { 'update_method', 'groups', 'updated' - ].map((colKey) => columns.find(({ key }) => key === colKey)); + ].map((colKey) => columns.find(({ key }) => key === colKey)) + .filter(Boolean); // eliminate possible undefined's }; const AddSystemsToGroupModal = ({