Open justinbmeyer opened 8 years ago
If you change tournamentPromise of components/tournament/details/details.js to:
tournamentPromise
components/tournament/details/details.js
tournamentPromise: { get: function(){ var p = Tournament.get({id: this.attr("tournamentId")}); console.log("state",typeof p.state); return p; } },
You'll see that on the server, state function, on the client state undefined.
state function
state undefined
There's different promise implementations being used and could be a source of bugs / confusion. Something to look into.
Confirmed. I just ran into this issue.
If you change
tournamentPromise
ofcomponents/tournament/details/details.js
to:You'll see that on the server,
state function
, on the clientstate undefined
.There's different promise implementations being used and could be a source of bugs / confusion. Something to look into.