1
0
Fork 0
mirror of synced 2024-07-11 09:15:48 +12:00
This commit is contained in:
Dean 2024-02-07 14:53:16 +00:00
parent 7490f30dfd
commit 2d8d0a50bc
4 changed files with 4 additions and 4 deletions

View file

@ -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
}

View file

@ -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]

View file

@ -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)
})
}
}

View file

@ -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"