remove subscription check

This commit is contained in:
jiangcuo 2025-01-20 16:50:42 +08:00
parent 50872e450b
commit 05df17e362
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
diff --git a/src/Utils.js b/src/Utils.js
index 1ee4039..106e774 100644
--- a/src/Utils.js
+++ b/src/Utils.js
@@ -559,24 +559,7 @@ utilities: {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
},
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();
- }
+ console.log("lierfang subscription check");
},
},
);

View File

@ -0,0 +1 @@
patches/001-remove-subscription.patch