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