diff options
author | Justin Reynolds <justinr1234@gmail.com> | 2019-08-08 14:54:22 -0500 |
---|---|---|
committer | Justin Reynolds <justinr1234@gmail.com> | 2019-08-08 14:54:22 -0500 |
commit | cf65f1b7a135f1bef68b8c767411a754bd9bac44 (patch) | |
tree | a1df90b6c3156f2c67b0376e933d6fa408f6b778 /client | |
parent | aa6a588376b0961f4a246958d6e9e3f1a020fd1d (diff) | |
download | wekan-cf65f1b7a135f1bef68b8c767411a754bd9bac44.tar.gz wekan-cf65f1b7a135f1bef68b8c767411a754bd9bac44.tar.bz2 wekan-cf65f1b7a135f1bef68b8c767411a754bd9bac44.zip |
Fix null access with board body
Diffstat (limited to 'client')
-rw-r--r-- | client/components/boards/boardsList.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index b1371747..3918af82 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -8,10 +8,10 @@ Template.boardListHeaderBar.events({ Template.boardListHeaderBar.helpers({ templatesBoardId() { - return Meteor.user().getTemplatesBoardId(); + return Meteor.user() && Meteor.user().getTemplatesBoardId(); }, templatesBoardSlug() { - return Meteor.user().getTemplatesBoardSlug(); + return Meteor.user() && Meteor.user().getTemplatesBoardSlug(); }, }); |