all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] ui: bulk actions: don't try to reset non-existing 'vmidfilter'
@ 2025-11-17 10:02 Dominik Csapak
  0 siblings, 0 replies; only message in thread
From: Dominik Csapak @ 2025-11-17 10:02 UTC (permalink / raw)
  To: pve-devel

there never was a field with the id 'vmidfilter', so it was either a
left over from a previous attempt, or a copy&paste mistake.

It does not fix any behavior, since it was the last thing to be done in
the function anyway, but it prevents an exception/error log in the console.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
the diff does it not make it obvious, but it's just removing the 'vmid'
from the list. The linting/formatting rules change it afterwards.

 www/manager6/window/BulkAction.js | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/www/manager6/window/BulkAction.js b/www/manager6/window/BulkAction.js
index a6f90750..e51677e2 100644
--- a/www/manager6/window/BulkAction.js
+++ b/www/manager6/window/BulkAction.js
@@ -219,18 +219,11 @@ Ext.define('PVE.window.BulkAction', {
 
         let clearFilters = function () {
             me.down('#namefilter').setValue('');
-            [
-                'name',
-                'status',
-                'pool',
-                'type',
-                'hastate',
-                'includetag',
-                'excludetag',
-                'vmid',
-            ].forEach((filter) => {
-                me.down(`#${filter}filter`).setValue('');
-            });
+            ['name', 'status', 'pool', 'type', 'hastate', 'includetag', 'excludetag'].forEach(
+                (filter) => {
+                    me.down(`#${filter}filter`).setValue('');
+                },
+            );
         };
 
         let filterChange = function () {
-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-11-17 10:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-17 10:02 [pve-devel] [PATCH manager] ui: bulk actions: don't try to reset non-existing 'vmidfilter' Dominik Csapak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal