Add new settings to new screens upon creation

This commit is contained in:
Andrew Kingston 2022-05-10 17:00:03 +01:00
parent 95cc985646
commit a77561d901
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ export class Screen extends BaseStructure {
super(true) super(true)
this._json = { this._json = {
showNavigation: true, showNavigation: true,
width: "Large",
props: { props: {
_id: Helpers.uuid(), _id: Helpers.uuid(),
_component: "@budibase/standard-components/container", _component: "@budibase/standard-components/container",
@ -26,6 +27,7 @@ export class Screen extends BaseStructure {
routing: { routing: {
route: "", route: "",
roleId: "BASIC", roleId: "BASIC",
homeScreen: false,
}, },
name: "screen-id", name: "screen-id",
} }