feat(editor): Show banner for non-production licenses (#6943)

https://linear.app/n8n/issue/PAY-692
This commit is contained in:
Iván Ovejero
2023-08-17 14:00:17 +02:00
committed by GitHub
parent d3f01270c7
commit 413570c49d
10 changed files with 33 additions and 20 deletions

View File

@@ -198,6 +198,9 @@ export const useSettingsStore = defineStore(STORES.SETTINGS, {
this.saml.loginEnabled = settings.sso.saml.loginEnabled;
this.saml.loginLabel = settings.sso.saml.loginLabel;
}
if (settings.enterprise?.showNonProdBanner) {
useUIStore().banners.NON_PRODUCTION_LICENSE.dismissed = false;
}
},
async getSettings(): Promise<void> {
const rootStore = useRootStore();