ansible-roles/roles/pmg/files/remove_nag.patch

13 lines
528 B
Diff

--- /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.orig 2022-09-23 20:10:20.125559720 +0200
+++ /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 2022-09-23 20:13:04.311301761 +0200
@@ -510,8 +510,7 @@
},
success: function(response, opts) {
let res = response.result;
- if (res === null || res === undefined || !res || res
- .data.status.toLowerCase() !== 'active') {
+ if (false) {
Ext.Msg.show({
title: gettext('No valid subscription'),
icon: Ext.Msg.WARNING,