Merge pull request #6616 from mempool/nymkappa/default-logo

[enterprise] show default logo if unset by admin
This commit is contained in:
wiz 2026-07-03 19:57:15 +09:00 committed by GitHub
commit 7322cbb2c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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