From d9416caa1d1c0eecbbee577163ec70be639340e3 Mon Sep 17 00:00:00 2001 From: Aaron Lauterer Date: Wed, 19 Oct 2022 12:34:27 +0200 Subject: [PATCH] ui: dc: subscription: fix subscription check With the change to the rust backend for the subscription check, the return value changed as well. Signed-off-by: Aaron Lauterer --- www/manager6/dc/Support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/dc/Support.js b/www/manager6/dc/Support.js index 1b51e5ba..80f4d848 100644 --- a/www/manager6/dc/Support.js +++ b/www/manager6/dc/Support.js @@ -61,7 +61,7 @@ Ext.define('PVE.dc.Support', { }, success: function(response, opts) { let data = response.result.data; - if (data.status === 'Active') { + if (data?.status.toLowerCase() === 'active') { if (data.level === 'c') { me.updateCommunity(data); } else { -- 2.39.2