mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
764 B
17 lines
764 B
<ng-container *ngIf="queries.length > 0; else noQuery">
|
|
<a class="sidebar-item" *ngFor="let saved of queries; trackBy: trackByQuery" (click)="search.emit(saved.query)"
|
|
[class.active]="isSelectedQuery(saved)">
|
|
|
|
<i class="icon-circle" [style.color]="saved.color" [class.hidden]="!saved.color"></i> {{saved.name}}
|
|
|
|
<a class="sidebar-item-remove float-right" (click)="remove.emit(saved)" *ngIf="canRemove" sqxStopClick>
|
|
<i class="icon-close"></i>
|
|
</a>
|
|
</a>
|
|
</ng-container>
|
|
|
|
<ng-template #noQuery>
|
|
<div class="sidebar-item inactive text-muted" *ngIf="canRemove">
|
|
Search for {{types}} and use <i class="icon-star-empty"></i> icon in search form to save query for all contributors.
|
|
</div>
|
|
</ng-template>
|