Skip to content

Commit

Permalink
Fix problem with three picture menu
Browse files Browse the repository at this point in the history
  • Loading branch information
reiterl committed Sep 28, 2023
1 parent abc043b commit 4c815df
Showing 1 changed file with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,20 @@
</div>

<!-- Indicator column -->
<div *osScrollingTableCell="'indicator'; row as mediafile; config: { width: 40 }" class="fill">
<div
[matMenuTriggerFor]="singleMediafileMenu"
[matMenuTriggerData]="{ mediafile: mediafile }"
[matTooltip]="tooltipFn(mediafile)"
>
<mat-icon class="foreground-icon" *ngIf="mediafile.isFont() && isUsedAsFontFn(mediafile)">
<div *osScrollingTableCell="'indicator'; row as mediafile; config: { width: 40 }" class="fill clickable">
<div>
<mat-icon
[matTooltip]="'File is being used' | translate"
class="foreground-icon"
*ngIf="mediafile.isFont() && isUsedAsFontFn(mediafile)"
>
text_fields
</mat-icon>
<mat-icon class="foreground-icon" *ngIf="mediafile.isImage() && isUsedAsLogoFn(mediafile)">
<mat-icon
[matTooltip]="'File is being used' | translate"
class="foreground-icon"
*ngIf="mediafile.isImage() && isUsedAsLogoFn(mediafile)"
>
insert_photo
</mat-icon>
</div>
Expand Down

0 comments on commit 4c815df

Please sign in to comment.