From f413594615aac4cb229235bf946eeb18de9590c5 Mon Sep 17 00:00:00 2001 From: Subho Date: Tue, 18 Apr 2023 21:37:46 +0530 Subject: [PATCH] Remember VM state filter settings Fixes #1032 --- src/components/aggregateStatusCards.jsx | 8 ++-- src/components/networks/networkList.jsx | 2 +- .../storagePools/storagePoolList.jsx | 2 +- src/components/vm/vmDetailsPage.jsx | 4 +- src/components/vms/hostvmslist.jsx | 44 +++++++++++++++++-- 5 files changed, 50 insertions(+), 10 deletions(-) diff --git a/src/components/aggregateStatusCards.jsx b/src/components/aggregateStatusCards.jsx index 265c87a6b..8c17d0c9a 100644 --- a/src/components/aggregateStatusCards.jsx +++ b/src/components/aggregateStatusCards.jsx @@ -42,10 +42,10 @@ export class AggregateStatusCards extends React.Component { className='ct-card-info' isSelectable onKeyDown={event => this.onCardSelect(event, 'storages')} - onClick={() => cockpit.location.go(['storages'])}> + onClick={() => cockpit.location.go(['storages'], cockpit.location.options)}> -