Add new settings to new screens upon creation

This commit is contained in:
Andrew Kingston 2022-05-10 17:00:03 +01:00
parent 12f704ea7a
commit a8ac919a71
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",
} }