Fixes bug on invisible tabs

This commit is contained in:
apapachristou 2019-09-04 09:54:02 +03:00
parent bb32b4c6f4
commit 72a613a380
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
</ng-template>
<app-dmp-wizard-dataset-listing-component *ngIf="formGroup" [formGroup]="formGroup" [dmpId]="formGroup.get('id').value"></app-dmp-wizard-dataset-listing-component>
</mat-tab>
<mat-tab>
<mat-tab disabled>
<ng-template mat-tab-label></ng-template>
</mat-tab>
</mat-tab-group>

View File

@ -65,10 +65,10 @@
</ng-template>
<app-people-tab [formGroup]="formGroup" [dmp]="dmp" [isPublic]="isPublic" [isFinalized]="isFinalized"></app-people-tab>
</mat-tab>
<mat-tab *ngIf="isNew">
<mat-tab *ngIf="isNew" disabled>
<ng-template mat-tab-label></ng-template>
</mat-tab>
<mat-tab *ngIf="isNew">
<mat-tab *ngIf="isNew" disabled>
<ng-template mat-tab-label></ng-template>
</mat-tab>
<!-- <mat-tab>