Delete subscription check

This commit is contained in:
Алексей Шабалин 2022-01-24 02:51:02 +03:00
parent ce43c6846d
commit ddfe1b8fc0

View File

@ -508,23 +508,7 @@ utilities: {
},
success: function(response, opts) {
let res = response.result;
if (res === null || res === undefined || !res || res
.data.status.toLowerCase() !== 'active') {
Ext.Msg.show({
title: gettext('No valid subscription'),
icon: Ext.Msg.WARNING,
message: Proxmox.Utils.getNoSubKeyHtml(res.data.url),
buttons: Ext.Msg.OK,
callback: function(btn) {
if (btn !== 'ok') {
return;
}
orig_cmd();
},
});
} else {
orig_cmd();
}
orig_cmd();
},
},
);