ui: fix reloading subscription info after key upload

ExtJS has a `listeners` but no `listener` config, so add the missing
`s` to ensure the upload window destroy event callback is triggered.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-17 08:17:37 +02:00
parent 3b7b52dcf8
commit 214e187d4f

View File

@ -144,7 +144,7 @@ Ext.define('PBS.Subscription', {
Ext.create('PBS.SubscriptionKeyEdit', {
url: '/api2/extjs/' + baseurl,
autoShow: true,
listener: {
listeners: {
destroy: () => reload(),
},
});