[enterprise] show default logo if unset by admin

This commit is contained in:
nymkappa 2026-07-03 19:55:29 +09:00
parent f3ef789d32
commit b04cafeeb3
No known key found for this signature in database
GPG key ID: A7895A957BA87DBA
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@
<ng-container *ngIf="{ val: connectionState$ | async } as connectionState">
@if (enterpriseInfo) {
<div class="subdomain_container">
<img [src]="enterpriseInfo.logoUrl" [alt]="enterpriseInfo.title" class="subdomain_logo" [class.custom_logo]="!enterpriseInfo?.dualLogo" [class.rounded]="enterpriseInfo.rounded_corner">
<img [src]="enterpriseInfo.logoUrl" [alt]="enterpriseInfo.title" class="subdomain_logo" [class.custom_logo]="!enterpriseInfo?.dualLogo" [class.rounded]="enterpriseInfo.rounded_corner" (error)="$any($event.target).onerror = null; $any($event.target).src = '/resources/enterprise-big.png'">
</div>
@if (enterpriseInfo.dualLogo) {
<div class="vertical-line"></div>
@ -43,7 +43,7 @@
<ng-container *ngIf="{ val: connectionState$ | async } as connectionState">
@if (enterpriseInfo) {
<div class="subdomain_container">
<img [src]="enterpriseInfo.logoUrl" [alt]="enterpriseInfo.title" class="subdomain_logo mobile_logo" [class.custom_logo]="!enterpriseInfo?.dualLogo" [class.rounded]="enterpriseInfo.rounded_corner">
<img [src]="enterpriseInfo.logoUrl" [alt]="enterpriseInfo.title" class="subdomain_logo mobile_logo" [class.custom_logo]="!enterpriseInfo?.dualLogo" [class.rounded]="enterpriseInfo.rounded_corner" (error)="$any($event.target).onerror = null; $any($event.target).src = '/resources/enterprise-big.png'">
</div>
@if (enterpriseInfo.dualLogo) {
<div class="vertical-line"></div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB