mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
Fix null access with board body
This commit is contained in:
parent
aa6a588376
commit
cf65f1b7a1
1 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,10 @@ Template.boardListHeaderBar.events({
|
||||||
|
|
||||||
Template.boardListHeaderBar.helpers({
|
Template.boardListHeaderBar.helpers({
|
||||||
templatesBoardId() {
|
templatesBoardId() {
|
||||||
return Meteor.user().getTemplatesBoardId();
|
return Meteor.user() && Meteor.user().getTemplatesBoardId();
|
||||||
},
|
},
|
||||||
templatesBoardSlug() {
|
templatesBoardSlug() {
|
||||||
return Meteor.user().getTemplatesBoardSlug();
|
return Meteor.user() && Meteor.user().getTemplatesBoardSlug();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue