Skip to content

Commit

Permalink
lazy load first tab as well (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
agduncan94 authored Aug 22, 2019
1 parent e5770bb commit 50a15b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/app/container/files/files.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
-->

<mat-tab-group mat-stretch-tabs>
<!-- Keep this as lazy loaded -->
<mat-tab label="Dockerfile">
<app-dockerfile [entrypath]="entrypath" [id]="id" [selectedVersion]="selectedVersion" [publicPage]="publicPage"> </app-dockerfile>
<ng-template matTabContent>
<app-dockerfile [entrypath]="entrypath" [id]="id" [selectedVersion]="selectedVersion" [publicPage]="publicPage"> </app-dockerfile>
</ng-template>
</mat-tab>

<mat-tab label="Descriptor Files">
Expand Down
5 changes: 4 additions & 1 deletion src/app/workflow/files/files.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
-->

<mat-tab-group mat-stretch-tabs>
<!-- Keep this as lazy loaded -->
<mat-tab label="Descriptor Files">
<app-descriptors-workflow [entrypath]="entrypath" [id]="id" [selectedVersion]="selectedVersion"> </app-descriptors-workflow>
<ng-template matTabContent>
<app-descriptors-workflow [entrypath]="entrypath" [id]="id" [selectedVersion]="selectedVersion"> </app-descriptors-workflow>
</ng-template>
</mat-tab>
<mat-tab label="Test Parameter Files">
<ng-template matTabContent>
Expand Down

0 comments on commit 50a15b7

Please sign in to comment.