mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Card Details Popup close, list moved to top -> fixed
This commit is contained in:
parent
fdf40f4584
commit
a72f1ae8de
2 changed files with 5 additions and 5 deletions
|
@ -23,7 +23,7 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
onlyShowCurrentCard() {
|
||||
return Utils.isMiniScreen() && Utils.getCurrentCardId();
|
||||
return Utils.isMiniScreen() && Utils.getCurrentCardId(true);
|
||||
},
|
||||
|
||||
goHome() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Utils = {
|
||||
getCurrentCardId() {
|
||||
getCurrentCardId(ignorePopupCard) {
|
||||
let ret = Session.get('currentCard');
|
||||
if (!ret) {
|
||||
if (!ret && !ignorePopupCard) {
|
||||
ret = Utils.getPopupCardId();
|
||||
}
|
||||
return ret;
|
||||
|
@ -10,8 +10,8 @@ Utils = {
|
|||
const ret = Session.get('popupCard');
|
||||
return ret;
|
||||
},
|
||||
getCurrentCard() {
|
||||
const cardId = Utils.getCurrentCardId();
|
||||
getCurrentCard(ignorePopupCard) {
|
||||
const cardId = Utils.getCurrentCardId(ignorePopupCard);
|
||||
const ret = Cards.findOne(cardId);
|
||||
return ret;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue