UI: Refactoring

This commit is contained in:
Artem Dzhereleiko 2023-07-28 10:35:02 +03:00
parent dc3f3ceafb
commit f9af643f6c

View File

@ -172,8 +172,8 @@
</mat-error> </mat-error>
</mat-form-field> </mat-form-field>
</div> </div>
<div class="input-field" *ngIf="key.settings.dataKeyValueType === 'colorPicker'"> <tb-color-input fxFlex class="input-field"
<tb-color-input fxFlex *ngIf="key.settings.dataKeyValueType === 'colorPicker'"
label="{{key.label}}" label="{{key.label}}"
icon="{{key.settings.icon}}" icon="{{key.settings.icon}}"
[required]="key.settings.required" [required]="key.settings.required"
@ -184,7 +184,6 @@
</tb-color-input> </tb-color-input>
</div> </div>
</div> </div>
</div>
</fieldset> </fieldset>
</div> </div>
<div class="mat-padding" fxLayout="row" fxLayoutAlign="end center" <div class="mat-padding" fxLayout="row" fxLayoutAlign="end center"