|
|
|
@ -255,7 +255,8 @@ export class WidgetConfigComponent extends PageComponent implements OnInit, Cont |
|
|
|
this.layoutSettings = this.fb.group({ |
|
|
|
mobileOrder: [null, [Validators.pattern(/^-?[0-9]+$/)]], |
|
|
|
mobileHeight: [null, [Validators.min(1), Validators.max(10), Validators.pattern(/^\d*$/)]], |
|
|
|
mobileHide: [false] |
|
|
|
mobileHide: [false], |
|
|
|
desktopHide: [false] |
|
|
|
}); |
|
|
|
this.actionsSettings = this.fb.group({ |
|
|
|
actionsData: [null, []] |
|
|
|
@ -554,7 +555,8 @@ export class WidgetConfigComponent extends PageComponent implements OnInit, Cont |
|
|
|
{ |
|
|
|
mobileOrder: layout.mobileOrder, |
|
|
|
mobileHeight: layout.mobileHeight, |
|
|
|
mobileHide: layout.mobileHide |
|
|
|
mobileHide: layout.mobileHide, |
|
|
|
desktopHide: layout.desktopHide |
|
|
|
}, |
|
|
|
{emitEvent: false} |
|
|
|
); |
|
|
|
@ -563,7 +565,8 @@ export class WidgetConfigComponent extends PageComponent implements OnInit, Cont |
|
|
|
{ |
|
|
|
mobileOrder: null, |
|
|
|
mobileHeight: null, |
|
|
|
mobileHide: false |
|
|
|
mobileHide: false, |
|
|
|
desktopHide: false |
|
|
|
}, |
|
|
|
{emitEvent: false} |
|
|
|
); |
|
|
|
|