Fixed attachments and minicard related bugs that prevented WeKan starting.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-11 12:13:11 +03:00
parent 7fce5650b8
commit a86ff1e8d0
8 changed files with 82 additions and 50 deletions

View file

@ -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))