Browse Source

Support custom icons in widget config.

pull/13972/head
deaflynx 1 year ago
parent
commit
8af4c70e13
  1. 1
      ui-ngx/src/app/modules/home/components/widget/widget-config.component.html
  2. 2
      ui-ngx/src/app/shared/components/material-icons.component.html

1
ui-ngx/src/app/modules/home/components/widget/widget-config.component.html

@ -71,6 +71,7 @@
</mat-form-field> </mat-form-field>
<tb-material-icon-select asBoxInput <tb-material-icon-select asBoxInput
iconClearButton iconClearButton
allowedCustomIcon
[color]="widgetSettings.get('iconColor').value" [color]="widgetSettings.get('iconColor').value"
formControlName="titleIcon"> formControlName="titleIcon">
</tb-material-icon-select> </tb-material-icon-select>

2
ui-ngx/src/app/shared/components/material-icons.component.html

@ -86,7 +86,7 @@
</button> </button>
</div> </div>
} @else { } @else {
<tb-gallery-image-input class="min-w-[520px]" <tb-gallery-image-input [style.width]="iconsPanelWidth"
[(ngModel)]="selectedIcon"> [(ngModel)]="selectedIcon">
</tb-gallery-image-input> </tb-gallery-image-input>
<div class="tb-material-icons-panel-buttons"> <div class="tb-material-icons-panel-buttons">

Loading…
Cancel
Save