ciyidogan commited on
Commit
cf4d43e
·
verified ·
1 Parent(s): 73b121e

Update flare-ui/src/app/components/projects/projects.component.html

Browse files
flare-ui/src/app/components/projects/projects.component.html CHANGED
@@ -59,7 +59,7 @@
59
  <div class="project-info">
60
  <div class="info-item">
61
  <mat-icon>layers</mat-icon>
62
- <span>{{ project.versions?.length || 0 }} versions ({{ getPublishedCount(project) }} published)</span>
63
  </div>
64
  <div class="info-item">
65
  <mat-icon>{{ project.enabled ? 'check_circle' : 'cancel' }}</mat-icon>
@@ -105,10 +105,10 @@
105
  <ng-container matColumnDef="versions">
106
  <th mat-header-cell *matHeaderCellDef>Versions</th>
107
  <td mat-cell *matCellDef="let project">
108
- <mat-chip-list>
109
- <mat-chip>{{ project.versions?.length || 0 }} total</mat-chip>
110
- <mat-chip color="primary" selected>{{ getPublishedCount(project) }} published</mat-chip>
111
- </mat-chip-list>
112
  </td>
113
  </ng-container>
114
 
 
59
  <div class="project-info">
60
  <div class="info-item">
61
  <mat-icon>layers</mat-icon>
62
+ <span>{{ project.versions.length || 0 }} versions ({{ getPublishedCount(project) }} published)</span>
63
  </div>
64
  <div class="info-item">
65
  <mat-icon>{{ project.enabled ? 'check_circle' : 'cancel' }}</mat-icon>
 
105
  <ng-container matColumnDef="versions">
106
  <th mat-header-cell *matHeaderCellDef>Versions</th>
107
  <td mat-cell *matCellDef="let project">
108
+ <mat-chip-listbox>
109
+ <mat-chip-option>{{ project.versions?.length || 0 }} total</mat-chip-option>
110
+ <mat-chip-option selected>{{ getPublishedCount(project) }} published</mat-chip-option>
111
+ </mat-chip-listbox>
112
  </td>
113
  </ng-container>
114