Browse Source

Merge pull request #9459 from ArtemDzhereleiko/AD/bug-fix/widget-settings/border-radius

Fixed advanced widget setting boarder radius property
pull/9473/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
353beffc1d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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