You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cool, I spotted the same issue. I'm not all the way through the book yet, so as of chapter 10, this code worked for me... I based the conditional on what the current page was. (show the discuss button only on the posts list page, else do not show it)
helper code...
showDiscussButton: function () {
return Router.current().route.getName() === 'postsList';
}
What's the best way to hide the button when viewing the post details/comments page?
I've solved this the following way
And I have the following helper checking the session variable
Is there a better way?
The text was updated successfully, but these errors were encountered: