When I have the canvas disabled in settings, I get an error when executing an item macro.
helper.js:74 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'get')
at Item._executeScript (helper.js:74:35)
at Item.executeMacro (helper.js:62:23)
at ItemMacroConfig._onExecute (ItemMacroConfig.js:43:10)
The setting:
Here is where it dies in the code:
When I look at the canvas object in devtools, it doesn't have a tokens prop:
I confirmed that it does work when I enable the canvas.
When I have the canvas disabled in settings, I get an error when executing an item macro.
The setting:
Here is where it dies in the code:
When I look at the canvas object in devtools, it doesn't have a
tokens
prop:I confirmed that it does work when I enable the canvas.