mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix In Lists view, Card Details pop-up does not appear in 6.31 release.
Thanks to Sdub76, niels, m4teh, r4nc0r, mfilser, medjedovicm and xet7 ! Fixes #4616
This commit is contained in:
parent
a551f2bcc7
commit
063ad08e9e
1 changed files with 12 additions and 4 deletions
|
@ -10,10 +10,10 @@ function currentListIsInThisSwimlane(swimlaneId) {
|
|||
|
||||
function currentCardIsInThisList(listId, swimlaneId) {
|
||||
const currentCard = Utils.getCurrentCard();
|
||||
const currentUser = Meteor.user();
|
||||
//const currentUser = Meteor.user();
|
||||
if (
|
||||
currentUser &&
|
||||
currentUser.profile &&
|
||||
//currentUser &&
|
||||
//currentUser.profile &&
|
||||
Utils.boardView() === 'board-view-swimlanes'
|
||||
)
|
||||
return (
|
||||
|
@ -21,7 +21,15 @@ function currentCardIsInThisList(listId, swimlaneId) {
|
|||
currentCard.listId === listId &&
|
||||
currentCard.swimlaneId === swimlaneId
|
||||
);
|
||||
else return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId;
|
||||
else if (
|
||||
//currentUser &&
|
||||
//currentUser.profile &&
|
||||
Utils.boardView() === 'board-view-lists'
|
||||
)
|
||||
return (
|
||||
currentCard &&
|
||||
currentCard.listId === listId
|
||||
);
|
||||
|
||||
// https://github.com/wekan/wekan/issues/1623
|
||||
// https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue