Skip to content

Commit

Permalink
Clean up CorpusFormComponent template
Browse files Browse the repository at this point in the history
  • Loading branch information
JeltevanBoheemen committed Dec 10, 2024
1 parent 1023af9 commit 5880510
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
</div>
</div>
<ng-container [ngSwitch]="activeStep$ | async">
<div *ngSwitchCase="0" class="section">
<div class="container is-readable"><ia-meta-form *ngIf="corpus$ | async as corpus" [corpus]="corpus" /></div>
</div>
<div *ngSwitchCase="1" class="section">
<div class="container is-readable"><ia-upload-sample /></div>
</div>
<div *ngSwitchCase="2" class="section">
<div class="container is-readable"><ia-field-form *ngIf="corpus$ | async as corpus" [corpus]="corpus" /></div>
<div class="section">
<div class="container is-readable">
<ng-container *ngSwitchCase="0"><ia-meta-form *ngIf="corpus$ | async as corpus"
[corpus]="corpus" /></ng-container>
<ia-upload-sample *ngSwitchCase="1" />
<ng-container *ngSwitchCase="2"><ia-field-form *ngIf="corpus$ | async as corpus"
[corpus]="corpus" /></ng-container>

</div>
</div>
</ng-container>

0 comments on commit 5880510

Please sign in to comment.