Skip to content

Commit e4eb553

Browse files
committed
#454475 - Fixed empty tab when there are no vocabularies
1 parent 0722877 commit e4eb553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/pages/assets/asset-create/asset-create.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</div>
6565
</mat-tab>
6666

67-
<mat-tab label="Detailed information" *ngIf="vocabularies?.length > 0">
67+
<mat-tab label="Detailed information" *ngIf="vocabularies?.length > 0 && ((defaultVocabularies?.length>0 && defaultForms?.length>0) || selectedVocabularies?.length>0)">
6868
<mat-tab-group animationDuration="0ms" mat-stretch-tabs="false" mat-align-tabs="start">
6969
<mat-tab label="Default information" *ngIf="defaultVocabularies?.length>0 && defaultForms?.length>0">
7070
<div class="asset-creation-vocabularies">

0 commit comments

Comments
 (0)