UI: Fixed widget setting boarder radius

This commit is contained in:
Artem Dzhereleiko 2023-10-20 11:01:04 +03:00
parent 495688ab80
commit 408b890679

View File

@ -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};
}