mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-26 01:02:16 +00:00
fix(console): header image fallback (#3735)
fix: fallback icon in header Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
f9e9b4b64b
commit
47feced1cb
@@ -67,6 +67,10 @@ export class HeaderComponent implements OnDestroy {
|
||||
return this.router.url === '/users/me';
|
||||
}
|
||||
|
||||
public errorHandler(event: any, fallbackSrc: string) {
|
||||
(event.target as HTMLImageElement).src = fallbackSrc;
|
||||
}
|
||||
|
||||
public get isOnInstance(): boolean {
|
||||
const pages: string[] = [
|
||||
'/instance',
|
||||
|
||||
Reference in New Issue
Block a user