ui: fix unchecking 'Filter VMID'

if the checkbox is not checked, we set the value of the vmid filter to ''
but left 'exactMatch' enabled, which means we filter all out where
the vmid is not ''

what we instead want is to remove also the exactMatch so that we
get *all* entries back not *none*

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-09-24 15:18:20 +02:00 committed by Thomas Lamprecht
parent 1e9698dd44
commit 017f991c91

View File

@ -126,6 +126,7 @@ Ext.define('PVE.grid.BackupView', {
listeners: {
change: function(cb, value) {
vmidFilter.value = !!value ? vmid : '';
vmidFilter.exactMatch = !!value;
updateFilter();
},
},