This commit is contained in:
mike12345567 2020-11-19 16:56:23 +00:00
parent 87528c8d55
commit a9d5c3a5cb
4 changed files with 13 additions and 4 deletions

View File

@ -149,7 +149,9 @@
}) })
// Select Correct Application/DB in prep for creating user // Select Correct Application/DB in prep for creating user
const applicationPkg = await get(`/api/applications/${appJson._id}/appPackage`) const applicationPkg = await get(
`/api/applications/${appJson._id}/appPackage`
)
const pkg = await applicationPkg.json() const pkg = await applicationPkg.json()
if (applicationPkg.ok) { if (applicationPkg.ok) {
backendUiStore.actions.reset() backendUiStore.actions.reset()

View File

@ -42,7 +42,9 @@
.normalStyle(textStyle) .normalStyle(textStyle)
.instanceName("Text") .instanceName("Text")
.type("none") .type("none")
.text("The screens that you create will be displayed inside this box. This box is just a placeholder, to show you the position of screens.") .text(
"The screens that you create will be displayed inside this box. This box is just a placeholder, to show you the position of screens."
)
const container = new Component("@budibase/standard-components/container") const container = new Component("@budibase/standard-components/container")
.normalStyle({ .normalStyle({
display: "flex", display: "flex",

View File

@ -51,7 +51,10 @@ const addWindowGlobals = (window, page, screens) => {
} }
export const makePage = props => ({ props }) export const makePage = props => ({ props })
export const makeScreen = (route, props) => ({ props, routing: { route, accessLevelId: "" } }) export const makeScreen = (route, props) => ({
props,
routing: { route, accessLevelId: "" },
})
export const timeout = ms => new Promise(resolve => setTimeout(resolve, ms)) export const timeout = ms => new Promise(resolve => setTimeout(resolve, ms))

View File

@ -109,7 +109,9 @@ exports.clearApplications = async request => {
.set(exports.defaultHeaders()) .set(exports.defaultHeaders())
for (let app of res.body) { for (let app of res.body) {
const appId = app._id const appId = app._id
await request.delete(`/api/applications/${appId}`).set(exports.defaultHeaders(appId)) await request
.delete(`/api/applications/${appId}`)
.set(exports.defaultHeaders(appId))
} }
} }