Bugfix, and optimize icon for notification

This commit is contained in:
floatinghotpot 2016-01-08 11:44:20 +08:00
parent 1e8368dea5
commit 470832e798
4 changed files with 11 additions and 11 deletions

View file

@ -43,7 +43,7 @@ Template.boardChangeTitlePopup.events({
BlazeComponent.extendComponent({
watchLevel() {
const currentBoard = Boards.findOne(Session.get('currentBoard'));
return currentBoard.getWatchLevel(Meteor.userId());
return currentBoard && currentBoard.getWatchLevel(Meteor.userId());
},
isStarred() {