From 851cb0260592bafa1e112dd860425929da33bca4 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 22 Sep 2022 08:52:46 +0200 Subject: [PATCH] mobile: fix subscription check the change to the rust based subscription code change the case of the status field, so do the same change as in the desktop ui Signed-off-by: Dominik Csapak --- js/mobile/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mobile/utils.js b/js/mobile/utils.js index 33ed019..244b1e8 100644 --- a/js/mobile/utils.js +++ b/js/mobile/utils.js @@ -132,7 +132,7 @@ PMG = { }, checkSubscription(data, showPopup) { return new Promise(function(resolve, reject) { - if (data.status !== 'Active') { + if (data.status?.toLowerCase() !== 'active') { let url = data.url || 'https://wwww.proxmox.com'; let err = `You do not have a valid subscription for this server. Please visit -- 2.39.2