Skip to content

Commit

Permalink
Merge pull request truenas#4556 from freenas/NAS-107053-fix
Browse files Browse the repository at this point in the history
NAS-107053 / 12.1 / NAS-107053 fix
  • Loading branch information
erincodepirate authored Aug 19, 2020
2 parents 0a009c3 + 6d22d29 commit f603046
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ <h4>{{"Data not available" | translate}} <span *ngIf="!poolState.is_decrypted"><
<mat-icon *ngIf="poolState.topology.data.length > 0" class="next-slide" ix-auto ix-auto-type="button" ix-auto-identifier="nextSlide">chevron_right</mat-icon>
</mat-list-item>

<mat-list-item (click)="updateSlide('disks', poolState.topology.cache.length > 0, 1, 0, 'cache')" [ngClass]="{'clickable': poolState.topology.cache.length > 0}">
<mat-list-item (click)="updateSlide('data', poolState.topology.cache.length > 0, 1, 0, 'cache')" [ngClass]="{'clickable': poolState.topology.cache.length > 0}">
<strong>{{"Caches" | translate}}: </strong>&nbsp;&nbsp; {{poolState.topology.cache.length}}
<mat-icon *ngIf="poolState.topology.cache.length > 0" class="next-slide" ix-auto ix-auto-type="button" ix-auto-identifier="nextSlide">chevron_right</mat-icon>
</mat-list-item>

<mat-list-item (click)="updateSlide('disks', poolState.topology.spare.length > 0, 1, 0, 'spare')" [ngClass]="{'clickable': poolState.topology.spare.length > 0}">
<mat-list-item (click)="updateSlide('data', poolState.topology.spare.length > 0, 1, 0, 'spare')" [ngClass]="{'clickable': poolState.topology.spare.length > 0}">
<strong>{{"Spares" | translate}}: </strong>&nbsp;&nbsp; {{poolState.topology.spare.length}}
<mat-icon *ngIf="poolState.topology.spare.length > 0" class="next-slide" ix-auto ix-auto-type="button" ix-auto-identifier="nextSlide">chevron_right</mat-icon>
</mat-list-item>
Expand Down Expand Up @@ -295,7 +295,7 @@ <h4>{{"Data not available" | translate}} <span *ngIf="!poolState.is_decrypted"><

<mat-list *ngIf="path[currentSlideIndex].dataSource.type == 'DISK'">
<mat-list-item role="listitem"
(click)="updateSlide('disk details', true, currentSlideIndex + 1, i, path[currentSlideIndex].dataSource)"
(click)="updateSlide('disk details', true, currentSlideIndex + 1, i, currentSlideTopology, path[currentSlideIndex].dataSource)"
(click)="getDiskDetails('name', path[currentSlideIndex].dataSource.disk, checkMultipath(path[currentSlideIndex].dataSource.disk))"
[ngClass]="{'clickable': true}">
<strong>
Expand Down

0 comments on commit f603046

Please sign in to comment.