mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-20 14:34:25 +00:00
feat(console-v2): login policy extension, domain policy, filter and UI fixes (#3644)
* show filter count when set * toast contrast color * fix notification settings, password dialog * app-create, user-create layout * domain policy * login-policy, project grid loader, i18n * login policy * login policy save lifetimes * private labeling optim * granted project grantId * smtp address matching * i18n * i18n * i18n * replace url strategy * fix privatelabeling color picker saving * stylelint Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
8d0cf9f368
commit
8baf0fe08c
@@ -68,9 +68,16 @@ export class HeaderComponent implements OnDestroy {
|
||||
}
|
||||
|
||||
public get isOnInstance(): boolean {
|
||||
return (
|
||||
['/instance', '/views', '/orgs', '/settings', '/failed-events', '/instance/members'].includes(this.router.url) ||
|
||||
this.router.url.includes('/settings')
|
||||
);
|
||||
const pages: string[] = [
|
||||
'/instance',
|
||||
'/settings',
|
||||
'/views',
|
||||
'/orgs',
|
||||
'/settings',
|
||||
'/failed-events',
|
||||
'/instance/members',
|
||||
];
|
||||
|
||||
return pages.findIndex((p) => this.router.url.includes(p)) > -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user