mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-10 08:05:12 +00:00
feat(console): only use one save button in SMTP Settings (#6561)
seperate smtp settings from notification providers
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
LOGIN,
|
||||
LOGINTEXTS,
|
||||
MESSAGETEXTS,
|
||||
NOTIFICATION_POLICY,
|
||||
NOTIFICATIONS,
|
||||
PRIVACYPOLICY,
|
||||
VERIFIED_DOMAINS,
|
||||
} from '../../modules/settings-list/settings';
|
||||
@@ -34,7 +34,7 @@ export class OrgSettingsComponent implements OnInit {
|
||||
IDP,
|
||||
COMPLEXITY,
|
||||
LOCKOUT,
|
||||
NOTIFICATION_POLICY,
|
||||
NOTIFICATIONS,
|
||||
VERIFIED_DOMAINS,
|
||||
DOMAIN,
|
||||
BRANDING,
|
||||
@@ -68,7 +68,7 @@ export class OrgSettingsComponent implements OnInit {
|
||||
|
||||
ngOnInit(): void {
|
||||
this.settingsList = this.authService
|
||||
.isAllowedMapper(this.defaultSettingsList, (setting) => setting.requiredRoles.mgmt)
|
||||
.isAllowedMapper(this.defaultSettingsList, (setting) => setting.requiredRoles.mgmt || [])
|
||||
.pipe(take(1));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user