ToDontThings
we should have threaded a long time ago I think, whoops
21 Replies
@mrpink52
Something to check:
ToDoListData.deleteToDo
, is that async
?Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
ah right
they
return
the game.users... thing, which is a promise, which makes them await
-ableUnknown User•4y ago
Message Not Public
Sign In & Join Server To View
yeah wtf
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
Ahh that'd do it
Should be:
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
Correct!
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
the window rerenders before the DB is done deleting things
which causes bad juju when you edit those things
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
yeah that was a wierd one
@mrpink52 one more, make sure you're returning from
updateToDo
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
https://hackmd.io/@akrigline/ByHFgUZ6u/%2FhxB4-nbQRCyPDbPCsqTupw#V-Wrapping-Up
There's a
final
thing in this section, do me a favor and double check yours matchesHackMD
Foundry VTT Module Making for Beginners - HackMD
A start-to-finish tutorial which walks through all of the steps needed to create a Foundry VTT module.
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
added it 🙂
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
hackmd is dope
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
haha