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 <a.lauterer@proxmox.com>
This commit is contained in:
Aaron Lauterer 2022-10-19 12:34:27 +02:00 committed by Thomas Lamprecht
parent c46eb47e53
commit d9416caa1d

View File

@ -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 {