diff --git a/shell/app/layout/stores/layout.ts b/shell/app/layout/stores/layout.ts index 126cb518e..9c63bc725 100644 --- a/shell/app/layout/stores/layout.ts +++ b/shell/app/layout/stores/layout.ts @@ -181,12 +181,13 @@ const layout = createStore({ } else { const orgRes = await getLicenses({ scope: 'ORG' }); const jse = new JSEncrypt(); - jse.setPrivateKey(PRIVATE_KEY); const data = jse.decrypt(orgRes.data); if (data) { const parseData = JSON.parse(data); features = parseData.features; + } else { + features = []; } } }