mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix app hang when Meteor.user() is null and list spinner is loaded bug
This commit is contained in:
parent
ff419f0b60
commit
9bbeb73db1
1 changed files with 10 additions and 6 deletions
|
|
@ -701,12 +701,16 @@ BlazeComponent.extendComponent({
|
||||||
this.listId = this.parentComponent().data()._id;
|
this.listId = this.parentComponent().data()._id;
|
||||||
this.swimlaneId = '';
|
this.swimlaneId = '';
|
||||||
|
|
||||||
const boardView = (Meteor.user().profile || {}).boardView;
|
let user = Meteor.user();
|
||||||
if (boardView === 'board-view-swimlanes')
|
if (user) {
|
||||||
this.swimlaneId = this.parentComponent()
|
const boardView = (Meteor.user().profile || {}).boardView;
|
||||||
.parentComponent()
|
if (boardView === 'board-view-swimlanes') {
|
||||||
.parentComponent()
|
this.swimlaneId = this.parentComponent()
|
||||||
.data()._id;
|
.parentComponent()
|
||||||
|
.parentComponent()
|
||||||
|
.data()._id;
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onRendered() {
|
onRendered() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue