fix(proxy): Remove subscription nag message
Adjust proxmoxlib.js patch file to work with newest Proxmox code. This removes the "No valid subscription" nag pop-up message on login.
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
--- proxmoxlib.js.orig 2024-11-19 12:40:04.000000000 +0100
|
||||
+++ proxmoxlib.js 2024-12-25 08:54:10.283639449 +0100
|
||||
@@ -575,8 +575,8 @@
|
||||
let res = response.result;
|
||||
if (res === null || res === undefined || !res || res
|
||||
.data.status.toLowerCase() !== 'active') {
|
||||
--- proxmoxlib.js.orig 2025-07-16 00:33:18.000000000 +0200
|
||||
+++ proxmoxlib.js 2025-08-06 00:01:50.479413166 +0200
|
||||
@@ -614,7 +614,7 @@
|
||||
!res ||
|
||||
res.data.status.toLowerCase() !== 'active'
|
||||
) {
|
||||
- Ext.Msg.show({
|
||||
- title: gettext('No valid subscription'),
|
||||
+ void({
|
||||
+ title: gettext('No valid subscription'),
|
||||
title: gettext('No valid subscription'),
|
||||
icon: Ext.Msg.WARNING,
|
||||
message: Proxmox.Utils.getNoSubKeyHtml(res.data.url),
|
||||
buttons: Ext.Msg.OK,
|
||||
|
Reference in New Issue
Block a user