linting.
This commit is contained in:
parent
87528c8d55
commit
a9d5c3a5cb
|
@ -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()
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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))
|
||||||
|
|
||||||
|
|
|
@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue