-
Goal: Initialize a variable within app, to be used when it triggers a query
-
Steps: Trying to use Promise.all( ).then() structure to control the timing
-
Details & Screenshots:
The Promise fails, even though the variable actually gets set.
Code:
Logs:
Variable actually gets set correctly:
Anybody see what I've got wrong?