Skip to content

Commit

Permalink
chore: remove extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaZhem committed Aug 15, 2024
1 parent 8ff165a commit 1dbc47a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
@for (control of minterForm['controls']; track $index) {
<div class="block-input">
@if (minterService[$index].type === 'text') {
<tui-input [formControl]="control">
<tui-input
[formControl]="control"
[tuiHintContent]="minterService[$index].description"
>
{{ minterService[$index].title }}
<input tuiTextfieldLegacy />
</tui-input>
} @else {
<tui-input-number [formControl]="control">
<tui-input-number
[formControl]="control"
[tuiHintContent]="minterService[$index].description"
>
{{ minterService[$index].title }}
<input tuiTextfieldLegacy />
</tui-input-number>
}
<div
tuiSubtitle
[style.padding-left]="'0.4rem'"
>
{{ minterService[$index].description }}
</div>
</div>
}
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
display: flex;
flex-direction: column;
gap: 0.4rem;
margin-bottom: 0.4rem;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '@angular/core';
import {FormArray, FormControl, FormsModule, ReactiveFormsModule} from '@angular/forms';
import {TuiAutoFocus} from '@taiga-ui/cdk';
import {TuiAlertService, TuiButton, TuiDialog} from '@taiga-ui/core';
import {TuiAlertService, TuiButton, TuiDialog, TuiHint} from '@taiga-ui/core';
import {TuiAvatar, TuiPushService} from '@taiga-ui/kit';
import {TuiCell} from '@taiga-ui/layout';
import {TuiInputModule, TuiInputNumberModule} from '@taiga-ui/legacy';
Expand All @@ -28,6 +28,7 @@ import {MinterService} from './minter-deploy.service';
TuiButton,
TuiCell,
TuiDialog,
TuiHint,
TuiInputModule,
TuiInputNumberModule,
],
Expand Down

0 comments on commit 1dbc47a

Please sign in to comment.