Skip to content

Commit

Permalink
fixed the click issue on search content
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhikachhawa24 committed Jun 20, 2024
1 parent 0c1f0cc commit 3a8e75f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/pages/search/search.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</ion-item>
</ion-list>
<ion-list *ngIf="!showSheenAnimation && searchContentResult.length > 0">
<ion-item lines="none" *ngFor="let content of searchContentResult; let i = index" class="card">
<ion-item lines="none" *ngFor="let content of searchContentResult; let i = index">
<div class="card__img" (click)="playContent($event, content)">
<!-- <img [src]="(content?.metaData?.thumbnail && !content.metaData.identifier.startsWith('do_')) ? content?.metaData?.thumbnail :'assets/images/Audio.png'" alt="" *ngIf="content.metaData.mimetype === mimeType.AUDIO">
<img appThumbnail [appThumbnail]="content?.metaData" alt="" *ngIf="content.metaData.mimetype === mimeType.YOUTUBE">
Expand All @@ -57,10 +57,10 @@
<img [src]="(content?.metaData?.thumbnail && !content.metaData.identifier.startsWith('do_')) ? (content?.metaData?.thumbnail) : 'assets/images/LINK.png'" alt="" *ngIf="content.metaData.mimetype === mimeType.LINK">
<!-- <img [src]="(content?.metaData?.thumbnail && !content.metaData.identifier.startsWith('do_')) ? content?.metaData?.thumbnail : 'assets/images/LINK.png'" alt="" *ngIf="content?.metaData?.mimetype === 'text/html'"> -->
</div>
<div class="card__metadata">
<div class="card__title">{{content.metaData?.name}}</div>
<ion-icon aria-hidden="true" src="assets/icon/kabab-icon.svg" (click)="moreOtions(content)"></ion-icon>
</div>
<div class="card__metadata" (click)="playContent($event, content)">
<div class="card__title">{{content.metaData?.name}}</div>
<ion-icon aria-hidden="true" src="assets/icon/kabab-icon.svg" (click)="moreOtions(content)"></ion-icon>
</div>
</ion-item>
</ion-list>
</ion-content>

0 comments on commit 3a8e75f

Please sign in to comment.