]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/Utils.js
make subscription status check compare lower case
[proxmox-widget-toolkit.git] / src / Utils.js
index e0d0d08a5833bbc14673829457179ca4ecced608..abbad36f67e276e15274ddd305fd47355481882d 100644 (file)
@@ -461,7 +461,7 @@ utilities: {
                success: function(response, opts) {
                    let res = response.result;
                    if (res === null || res === undefined || !res || res
-                       .data.status !== 'Active') {
+                       .data.status.toLowerCase() !== 'active') {
                        Ext.Msg.show({
                            title: gettext('No valid subscription'),
                            icon: Ext.Msg.WARNING,