fixed default icon issue

SRCA_DEV_NEW
umasoodch 3 years ago
parent 5e9e28c417
commit 118c9326ce

@ -28,11 +28,12 @@ export class ConnectorService {
public static timeOut = 180 * 1000;
// public static host = 'http://mohemm-app-test.srca.org.sa:1010/';
public static host = 'https://erptstapp.srca.org.sa/' //UAT
public static host = 'https://erptstapp.srca.org.sa/' //TEST UAT
// public static host = 'https://masaderapp.srca.org.sa/' //LIVE
constructor(public httpClient: HttpClient,
public cs: CommonService,
private events: Events,

@ -1,6 +1,6 @@
<div feedback class="custom-button">
<div class="iconBox">
<img *ngIf="title !='Announcement' && title !='اعلان' && title !='Items For Sale' && title !='بضاعه للبع' && title !='العروض والخصومات' && title !='Offers & Discount' && title != 'My Team' && title != 'Vacation Rule' && title != 'فريقي' && title != 'الإنابة بالإجازات' " [src]="'data:image/png;base64,'+icon" class="icon">
<img *ngIf="title !='Announcement' && title !='اعلان' && title !='Items For Sale' && title !='بضاعه للبع' && title !='العروض والخصومات' && title !='Offers & Discount' && title != 'My Team' && title != 'Vacation Rule' && title != 'فريقي' && title != 'الإنابة بالإجازات' " [src]="'data:image/png;base64,'+icon" onerror="this.onerror=null; this.src='/assets/icon/home/default.png'" class="icon">
<!-- <img *ngIf="title == 'My Team' || title == 'Vacation Rule'" [src]="icon" class="icon"> -->
<img *ngIf="title == 'My Team' || title == 'فريقي' " [src]="myTeamIcon" class="icon">
<img *ngIf="title == 'Vacation Rule' || title == 'الإنابة بالإجازات'" [src]="vacationRuleIcon" class="icon">

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Loading…
Cancel
Save