adding ReactiveCache to other source code

This commit is contained in:
Martin Filser 2022-12-11 11:42:41 +01:00
parent 30d154724a
commit 3f3b4746a9
4 changed files with 184 additions and 17 deletions

View file

@ -43,12 +43,12 @@ Utils = {
},
getCurrentCard(ignorePopupCard) {
const cardId = Utils.getCurrentCardId(ignorePopupCard);
const ret = Cards.findOne(cardId);
const ret = ReactiveCache.getCard(cardId);
return ret;
},
getPopupCard() {
const cardId = Utils.getPopupCardId();
const ret = Cards.findOne(cardId);
const ret = ReactiveCache.getCard(cardId);
return ret;
},
canModifyCard() {