This commit is contained in:
mike12345567 2020-11-19 16:56:23 +00:00
parent 4997df919e
commit 961a921a09
4 changed files with 13 additions and 4 deletions

View File

@ -149,7 +149,9 @@
})
// 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()
if (applicationPkg.ok) {
backendUiStore.actions.reset()

View File

@ -42,7 +42,9 @@
.normalStyle(textStyle)
.instanceName("Text")
.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")
.normalStyle({
display: "flex",

View File

@ -51,7 +51,10 @@ const addWindowGlobals = (window, page, screens) => {
}
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))

View File

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