When the guest status is set to `paused` the guest was not showing in the resources tab. Also there were no option in the resources filter to select the `paused` status under the status section.
This commit fixes the issue by adding the `paused` status under the status section in the resources filter sheet. Signed-off-by: Shan Shaji <s.sh...@proxmox.com> --- changes since v1: * Removed all formatting changes. * New `paused` status option is added after refactoring the filter sheet. lib/widgets/pve_mobile_resource_filter_sheet.dart | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/widgets/pve_mobile_resource_filter_sheet.dart b/lib/widgets/pve_mobile_resource_filter_sheet.dart index cee3a49..c09b2cf 100644 --- a/lib/widgets/pve_mobile_resource_filter_sheet.dart +++ b/lib/widgets/pve_mobile_resource_filter_sheet.dart @@ -112,6 +112,20 @@ class PveMobileResourceFilterSheet extends StatelessWidget { ), ), ), + _ProxmoxResourceFilterListTile( + title: 'Paused', + value: state.statusFilter + .contains(PveResourceStatusType.paused), + onChanged: (v) => rBloc.events.add( + FilterResources( + statusFilter: _addOrRemove( + v!, + PveResourceStatusType.paused, + state.statusFilter, + ), + ), + ), + ), ], ) ], -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel