From 792ef083e9da71f6d03e33d2fcfcc0543debf4d7 Mon Sep 17 00:00:00 2001 From: Sj-Si Date: Tue, 7 May 2024 15:56:07 -0400 Subject: [PATCH] fix missing filter update bug --- javascript/extraNetworks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/extraNetworks.js b/javascript/extraNetworks.js index 98c90220a..7fac84fd2 100644 --- a/javascript/extraNetworks.js +++ b/javascript/extraNetworks.js @@ -748,7 +748,6 @@ class ExtraNetworksTab { this.setTreeListRecursionDepth(elem.dataset.divId, false); this.removeDirectoryFilter(elem.dataset.divId); await this.tree_list.update(); - delete this.list_button_states[elem.dataset.divId]; } @@ -772,6 +771,7 @@ class ExtraNetworksTab { delete elem.dataset.selected; elem.classList.remove("short-pressed"); elem.classList.remove("long-pressed"); + this.removeDirectoryFilter(elem.dataset.divId); delete this.list_button_states[elem.dataset.divId]; }