mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
More explicit file names
This commit is contained in:
parent
29e93162c2
commit
b5dabfe886
18 changed files with 7 additions and 6 deletions
|
@ -4,3 +4,10 @@ Blaze.registerHelper('currentBoard', function() {
|
|||
return Boards.findOne(boardId);
|
||||
}
|
||||
});
|
||||
|
||||
Blaze.registerHelper('currentCard', function() {
|
||||
var cardId = Session.get('currentCard');
|
||||
if (cardId) {
|
||||
return Cards.findOne(cardId);
|
||||
}
|
||||
});
|
|
@ -1,6 +0,0 @@
|
|||
Blaze.registerHelper('currentCard', function() {
|
||||
var cardId = Session.get('currentCard');
|
||||
if (cardId) {
|
||||
return Cards.findOne(cardId);
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue