<div class="labels-wrapper" *ngIf="labels">
  <ng-container *ngFor="let label of showLabels; trackBy: trackByIdentity">
    <span
      *ngFor="let item of label | keyvalue; trackBy: trackByIdentity"
      class="label label-light-blue clickable"
      (click)="filterLabel(item.key, item.value)">
      {{ item.key }}:{{ item.value }}
    </span>
  </ng-container>

  <clr-signpost>
    <span
      *ngIf="overflowLabels && overflowLabels.length > 0"
      class="badge badge-light-blue"
      clrSignpostTrigger>
      {{ overflowLabels.length }}+
    </span>
    <clr-signpost-content *clrIfOpen>
      <ng-container *ngFor="let label of overflowLabels; trackBy: trackByIdentity">
        <span
          *ngFor="let item of label | keyvalue; trackBy: trackByIdentity"
          class="label label-light-blue clickable"
          (click)="filterLabel(item.key, item.value)">
          {{ item.key }}:{{ item.value }}
        </span>
      </ng-container>
    </clr-signpost-content>
  </clr-signpost> 
</div>

<div class="labels-wrapper" *ngIf="labels">
  <ng-container *ngFor="let label of showLabels; trackBy: trackByIdentity">
    <span
      *ngFor="let item of label | keyvalue; trackBy: trackByIdentity"
      class="label label-light-blue clickable"
      (click)="filterLabel(item.key, item.value)">
      {{ item.key }}:{{ item.value }}
    </span>
  </ng-container>

  <clr-signpost *ngIf="overflowLabels && overflowLabels.length > 0">
    <span
      class="badge badge-light-blue"
      clrSignpostTrigger>
      {{ overflowLabels.length }}+
    </span>
    <clr-signpost-content *clrIfOpen>
      <ng-container *ngFor="let label of overflowLabels; trackBy: trackByIdentity">
        <span
          *ngFor="let item of label | keyvalue; trackBy: trackByIdentity"
          class="label label-light-blue clickable"
          (click)="filterLabel(item.key, item.value)">
          {{ item.key }}:{{ item.value }}
        </span>
      </ng-container>
    </clr-signpost-content>
  </clr-signpost> 
</div>

Remove signpost when is no needed
Remove signpost when is no needed

Signed-off-by: Nicolas Farruggia <b5027c9bcb4b98cae84ab608552bc562737934fd@vmware.com>
