From d3444c08910c642a4e19c216cb5130fc7e9eabb6 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 27 Oct 2020 12:27:52 +0100 Subject: [PATCH] ui: allow one to delete the description Signed-off-by: Thomas Lamprecht --- www/Subscription.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/www/Subscription.js b/www/Subscription.js index 64f47123..d2ad5af0 100644 --- a/www/Subscription.js +++ b/www/Subscription.js @@ -96,6 +96,16 @@ Ext.define('PBS.Subscription', { }); }, }, + { + text: gettext('Remove Subscription'), + xtype: 'proxmoxStdRemoveButton', + confirmMsg: gettext('Are you sure you want to remove the subscription key?'), + baseurl: baseurl, + dangerous: true, + selModel: false, + callback: reload, + }, + //'-', ], rows: rows, });