Skip to content

Commit

Permalink
feat(admin-ui): Open Asset selection when clicking placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Jan 19, 2021
1 parent c244c0a commit c39fa55
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[src]="featuredAsset | assetPreview:'small'"
(click)="previewAsset(featuredAsset)"
/>
<div class="placeholder" *ngIf="!featuredAsset">
<div class="placeholder" *ngIf="!featuredAsset" (click)="selectAssets()">
<clr-icon shape="image" size="128"></clr-icon>
<div>{{ 'catalog.no-featured-asset' | translate }}</div>
</div>
Expand All @@ -29,7 +29,7 @@
(click)="previewAsset(featuredAsset)"
/>

<div class="placeholder" *ngIf="!featuredAsset"><clr-icon shape="image" size="150"></clr-icon></div>
<div class="placeholder" *ngIf="!featuredAsset" (click)="selectAssets()"><clr-icon shape="image" size="150"></clr-icon></div>
</div>
<ng-container *ngTemplateOutlet="assetList"></ng-container>
<button
Expand Down

0 comments on commit c39fa55

Please sign in to comment.