Browse Source

UI: Fixed widget setting boarder radius

pull/9459/head
Artem Dzhereleiko 3 years ago
parent
commit
408b890679
  1. 2
      ui-ngx/src/app/modules/home/models/dashboard-component.models.ts

2
ui-ngx/src/app/modules/home/models/dashboard-component.models.ts

@ -479,7 +479,7 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
backgroundColor: this.backgroundColor,
padding: this.padding,
margin: this.margin,
borderRadius: this.borderRadius};
borderRadius: this.borderRadius || 'unset' };
if (this.widget.config.widgetStyle) {
this.style = {...this.style, ...this.widget.config.widgetStyle};
}

Loading…
Cancel
Save