[pve-devel] applied: [PATCH manager 2/3] ui: view selector: prepare filterfn to be more efficient
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Nov 12 14:23:58 CET 2024
Am 12.11.24 um 12:45 schrieb Dominik Csapak:
> instead of just using the filterfn directly, return a function from
> `getFilterFn`. This way, when we want to filter different things
> depending on e.g. local storage values, we don't have to do that for
> every element, but only once and return the finished filterFn.
>
> while at it, rename 'filterfn' to camel case 'filterFn'.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> www/manager6/form/ViewSelector.js | 4 ++--
> www/manager6/tree/ResourceTree.js | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list