Lint
This commit is contained in:
parent
7490f30dfd
commit
2d8d0a50bc
|
@ -7,7 +7,7 @@ const registerNode = async (node, tourStepKey) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!get(builderStore).tourKey) {
|
if (!get(builderStore).tourKey) {
|
||||||
console.log("Tour Handler - No active tour ", tourStepKey, node)
|
console.warn("Tour Handler - No active tour ", tourStepKey, node)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -243,7 +243,7 @@ export const buildContextTree = (
|
||||||
}
|
}
|
||||||
|
|
||||||
// Process this component's contexts
|
// Process this component's contexts
|
||||||
const def = store.actions.components.getDefinition(rootComponent._component)
|
const def = componentStore.getDefinition(rootComponent._component)
|
||||||
if (def?.context) {
|
if (def?.context) {
|
||||||
tree[currentBranch].push(rootComponent._id)
|
tree[currentBranch].push(rootComponent._id)
|
||||||
const contexts = Array.isArray(def.context) ? def.context : [def.context]
|
const contexts = Array.isArray(def.context) ? def.context : [def.context]
|
||||||
|
|
|
@ -29,7 +29,7 @@ export default class BudiStore {
|
||||||
*/
|
*/
|
||||||
if (opts?.debug) {
|
if (opts?.debug) {
|
||||||
this.subscribe(state => {
|
this.subscribe(state => {
|
||||||
console.log(`${this.constructor.name}`, state)
|
console.warn(`${this.constructor.name}`, state)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -164,7 +164,7 @@ describe("Builder store", () => {
|
||||||
|
|
||||||
it("Overrite an existing route/path mapping with a new URL", ctx => {
|
it("Overrite an existing route/path mapping with a new URL", ctx => {
|
||||||
expect(ctx.test.store.previousTopNavPath).toStrictEqual({})
|
expect(ctx.test.store.previousTopNavPath).toStrictEqual({})
|
||||||
console.log(INITIAL_BUILDER_STATE)
|
|
||||||
const dataRoute = "/builder/app/:application/data"
|
const dataRoute = "/builder/app/:application/data"
|
||||||
const dataURL = "/builder/app/app_dev_123/data/table/ta_users"
|
const dataURL = "/builder/app/app_dev_123/data/table/ta_users"
|
||||||
const updatedURL = "/builder/app/app_dev_123/data/table/ta_employees"
|
const updatedURL = "/builder/app/app_dev_123/data/table/ta_employees"
|
||||||
|
|
Loading…
Reference in New Issue