diff --git a/src/components/GroupSystems/GroupImmutableSystems.js b/src/components/GroupSystems/GroupImmutableSystems.js index 1d7a14d4c..eb0ef3f2d 100644 --- a/src/components/GroupSystems/GroupImmutableSystems.js +++ b/src/components/GroupSystems/GroupImmutableSystems.js @@ -213,6 +213,8 @@ const GroupImmutableSystems = ({ groupName, groupId, ...props }) => { isModalOpen={addToGroupModalOpen} setIsModalOpen={(value) => { dispatch(clearEntitiesAction()); + // ImmutableDevicesView, which uses Edge's DevicesView, systems table persists filters in the Session Storage + window.sessionStorage.removeItem('edge-devices-table-filters'); setAddToGroupModalOpen(value); }} groupId={groupId} diff --git a/src/components/GroupSystems/GroupSystems.js b/src/components/GroupSystems/GroupSystems.js index 3f700920a..3dfbc2be0 100644 --- a/src/components/GroupSystems/GroupSystems.js +++ b/src/components/GroupSystems/GroupSystems.js @@ -160,6 +160,8 @@ const GroupSystems = ({ groupName, groupId }) => { isModalOpen={addToGroupModalOpen} setIsModalOpen={(value) => { dispatch(clearEntitiesAction()); + // The systems table of ImmutableDevicesView, which uses Edge's DevicesView, persists filters in the Session Storage + window.sessionStorage.removeItem('edge-devices-table-filters'); setAddToGroupModalOpen(value); }} groupId={groupId}