]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
make subscription status check compare lower case
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 13:18:42 +0000 (14:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 13:18:42 +0000 (14:18 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
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,