mirror of
https://github.com/wekan/wekan.git
synced 2026-01-19 07:46:09 +01:00
Fixed attachments and minicard related bugs that prevented WeKan starting.
Thanks to xet7 !
This commit is contained in:
parent
7fce5650b8
commit
a86ff1e8d0
8 changed files with 82 additions and 50 deletions
|
|
@ -23,7 +23,7 @@ Template.userAvatar.helpers({
|
|||
/*
|
||||
presenceStatusClassName() {
|
||||
const user = ReactiveCache.getUser(this.userId);
|
||||
const userPresence = presences.findOne({ userId: this.userId });
|
||||
const userPresence = Presences.findOne({ userId: this.userId });
|
||||
if (user && user.isInvitedTo(Session.get('currentBoard'))) return 'pending';
|
||||
else if (!userPresence) return 'disconnected';
|
||||
else if (Session.equals('currentBoard', userPresence.state.currentBoardId))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue