mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Card Details List-Dropdown is now filled too if the card is opened from global search
This commit is contained in:
parent
10b8612ed9
commit
c99d069b0d
2 changed files with 2 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ BlazeComponent.extendComponent({
|
||||||
},
|
},
|
||||||
|
|
||||||
onCreated() {
|
onCreated() {
|
||||||
this.currentBoard = Boards.findOne(Session.get('currentBoard'));
|
this.currentBoard = Utils.getCurrentBoard();
|
||||||
this.isLoaded = new ReactiveVar(false);
|
this.isLoaded = new ReactiveVar(false);
|
||||||
|
|
||||||
if (this.parentComponent() && this.parentComponent().parentComponent()) {
|
if (this.parentComponent() && this.parentComponent().parentComponent()) {
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@ Meteor.publishRelations('popupCardData', function(cardId) {
|
||||||
Cards.find({_id: cardId}),
|
Cards.find({_id: cardId}),
|
||||||
function(cardId, card) {
|
function(cardId, card) {
|
||||||
this.cursor(Boards.find({_id: card.boardId}));
|
this.cursor(Boards.find({_id: card.boardId}));
|
||||||
|
this.cursor(Lists.find({boardId: card.boardId}));
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
return this.ready()
|
return this.ready()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue