mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Merge branch 'vuxor-concat-blaze-helper' into devel
This commit is contained in:
commit
561448df64
1 changed files with 1 additions and 3 deletions
|
@ -18,6 +18,4 @@ Blaze.registerHelper('currentCard', () => {
|
|||
|
||||
Blaze.registerHelper('getUser', (userId) => Users.findOne(userId));
|
||||
|
||||
Blaze.registerHelper('concat', function (...args) {
|
||||
return Array.prototype.slice.call(args, 0, -1).join('');
|
||||
});
|
||||
Blaze.registerHelper('concat', (...args) => args.slice(0, -1).join(''));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue