1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12:00
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
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))
}
}