Skip to content
Snippets Groups Projects
Verified Commit 23ca9be0 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #10387 TIME 0:30 ternary in binding maileva thumbnails

parent 638f8c36
No related branches found
No related tags found
No related merge requests found
...@@ -97,10 +97,7 @@ ...@@ -97,10 +97,7 @@
</mat-sidenav-content> </mat-sidenav-content>
<mat-sidenav mode="side" fixedTopGap="56" position='end' [opened]="attachList.length > 0" style="width: 50%;"> <mat-sidenav mode="side" fixedTopGap="56" position='end' [opened]="attachList.length > 0" style="width: 50%;">
<div class="pjList"> <div class="pjList">
<div *ngFor="let attach of attachList"> <img *ngFor="let attach of attachList" title="{{attach.identifier}} : {{attach.title}}" src="../../rest/res/{{attach.res_id_master}}/attachments/{{attach.res_id!=0 ? attach.res_id : attach.res_id_version}}/thumbnail" />
<img *ngIf="attach.res_id!=0" title="{{attach.identifier}} : {{attach.title}}" src="../../rest/res/{{attach.res_id_master}}/attachments/{{attach.res_id}}/thumbnail" />
<img *ngIf="attach.res_id==0" title="{{attach.identifier}} : {{attach.title}}" src="../../rest/res/{{attach.res_id_master}}/attachments/{{attach.res_id_version}}/thumbnail" />
</div>
</div> </div>
</mat-sidenav> </mat-sidenav>
</mat-sidenav-container> </mat-sidenav-container>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment