]> git.proxmox.com Git - proxmox-backup.git/commit
ui: webauthn: fix stopping store upgrades on destroy
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Feb 2022 14:17:00 +0000 (15:17 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Feb 2022 14:19:47 +0000 (15:19 +0100)
commit21898bb8319de5f1185d4516e57336bf1e9ce45b
treee6f5c0395242bd0f448805e4b844bf5d0ed6fa31
parent7b944ff11add23f29f93aaabe0004bd0845e157d
ui: webauthn: fix stopping store upgrades on destroy

`deactivate` is only triggered if we switch to a different tab on
the same navigation level, but if we switch to a completely different
component (e.g., fom `Options -> Others` to `Datastore foo`) we can
only work with the destroy event, use the before one as else we
cannot access the view controllers method anymore.

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