Skip to content

Commit

Permalink
Merge pull request #3132 from cloudfoundry-incubator/dash-for-no-cf-a…
Browse files Browse the repository at this point in the history
…dmin

Endpoints Table: Only show 'Admin' check icon for cf endpoints
  • Loading branch information
KlapTrap authored Oct 17, 2018
2 parents c60ec46 + bec3872 commit fe8ab8a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<app-boolean-indicator *ngIf="row.user; else noUser" [isTrue]="row.user ? row.user.admin : false" type="yes-no">
<app-boolean-indicator *ngIf="row.cnsi_type === 'cf' && row.user; else noUser" [isTrue]="row.user ? row.user.admin : false" type="yes-no">
</app-boolean-indicator>
<ng-template #noUser>-</ng-template>
<ng-template #noUser>-</ng-template>

0 comments on commit fe8ab8a

Please sign in to comment.