mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix missing profile checks
This commit is contained in:
parent
97ff2bd2fa
commit
daf314b037
12 changed files with 39 additions and 35 deletions
|
|
@ -30,7 +30,7 @@ BlazeComponent.extendComponent({
|
|||
cardsCount() {
|
||||
const list = Template.currentData();
|
||||
let swimlaneId = '';
|
||||
const boardView = Meteor.user().profile.boardView;
|
||||
const boardView = (Meteor.user().profile || {}).boardView;
|
||||
if (boardView === 'board-view-swimlanes')
|
||||
swimlaneId = this.parentComponent().parentComponent().data()._id;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue