Closed Coyotito007 closed 3 months ago
It would be good to include that argument through the parameter desctructuring argument variable and default it as null. You see how all parameters in that call are named and mapped to the default value of that function they are calling. so adding a itemId parameter to that call by using the same pattern as other varables are passed in that call to the dialog ( like itemId:itemId ).
2 small modifications :
-suppression of a part of the code i added that was actually not necessary in diceroller.js
Very sorry for the mess (i'm far from a good coder) and thank you a lot for taking that into consideration.