]> git.proxmox.com Git - pmg-gui.git/commit
spam quarantine: avoid full store reload on single-element actions
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Mar 2021 11:21:53 +0000 (12:21 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Mar 2021 11:26:03 +0000 (12:26 +0100)
commit9aed379a700a0bc3bc26fa32d43a5bab75eb206b
tree2d5bf2a1023c1277efbd2e429cd63722ba4dac7f
parent3168b7f78063880e762c29eb0108ff65af0f551a
spam quarantine: avoid full store reload on single-element actions

A store load may require several seconds to complete, which can get
frustrating fast.

For single actions we have a callback which gets only executed on a
successful API call, so we can just remove the entry there directly
from the in-memory store.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/SpamQuarantine.js