Skip to content

Commit

Permalink
Merge pull request #2410 from freenas/NAS-102114
Browse files Browse the repository at this point in the history
NAS-102114
  • Loading branch information
erincodepirate committed Jun 15, 2019
2 parents f10e867 + baffd9c commit ec3631f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -1,5 +1,5 @@
<mat-card-content class="plugin-info">
<section *ngIf="engineerMode">
<section *ngIf="engineerMode || isFreenas">
<mat-label>{{ "Browse a Collection" | translate}}</mat-label>
<mat-select [(ngModel)]="selectedBranch" (selectionChange)="switchBranch($event)">
<mat-optgroup *ngFor="let branchIndex of availableBranches" [label]="branchIndex.name">
Expand Down
Expand Up @@ -22,6 +22,7 @@ export class AvailablePluginsComponent implements OnInit {
public selectedPlugin: any;
public isSelectedOffical = true;
public engineerMode: boolean;
public isFreenas = window.localStorage['is_freenas'] === 'true';
public availableBranches = [];
public selectedBranch: any;
public installedPlugins: any = {};
Expand Down

0 comments on commit ec3631f

Please sign in to comment.