Deleting a built-in target/matcher does not remove it, but resets it to its default settings. This was not really obvious from the UI. This patch changes the 'Remove' button text based on the selected target/matcher. If it is a built-in, the button text is changed to 'Reset to default'. Also, if the built-in is not actually modified, the button is disabled.
Lukas Wagner (2): remove button: allow to set custom confirmation message notify: change 'Remove' button to 'Reset to default' for built-ins src/button/Button.js | 10 ++++- src/panel/NotificationConfigView.js | 63 +++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel