fix logos with fallback in background jobs and notification dropdown.
This commit is contained in:
parent
ac5359c332
commit
fe8c485fef
|
@ -43,7 +43,7 @@
|
|||
<p class="az-notification-text">Background Jobs & Updates</p>
|
||||
<div class="az-notification-list">
|
||||
<a *ngFor="let backgroundJob of backgroundJobs" class="media new" routerLink="/background-jobs">
|
||||
<div><img style="max-width:50px;" src="assets/sources/{{backgroundJob.data?.source_type}}.png" alt=""></div>
|
||||
<div><img imageFallback style="max-width:50px;" src="assets/sources/{{backgroundJob.data?.brand_id}}.png" alt=""></div>
|
||||
<div class="media-body">
|
||||
<p><strong>{{backgroundJob.data?.source_type}}</strong> added {{backgroundJob.data?.checkpoint_data?.summary?.UpdatedResources?.length}} new records</p>
|
||||
<span>{{backgroundJob.done_time | amDateFormat:'MMM DD hh:mma'}}</span>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<tbody>
|
||||
<tr *ngFor="let backgroundJob of backgroundJobs" [class.border-left-danger]="backgroundJob.job_status == 'STATUS_FAILED'">
|
||||
<td>
|
||||
<img style="max-height:30px" [src]="'assets/sources/'+(backgroundJob?.data?.brand_id + '.png')" [alt]="backgroundJob?.data?.brand_id" class="img-fluid">
|
||||
<img imageFallback style="max-height:30px" [src]="'assets/sources/'+(backgroundJob?.data?.brand_id + '.png')" [alt]="backgroundJob?.data?.brand_id" class="img-fluid">
|
||||
</td>
|
||||
<td>{{backgroundJob.job_type}}</td>
|
||||
<td container="body" [ngbTooltip]="backgroundJob.created_at | amDateFormat:'YYYY-MM-DD HH:mm'">{{backgroundJob.created_at | amDateFormat:'LL'}}</td>
|
||||
|
|
Loading…
Reference in New Issue