mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
- Fix Card URL https://github.com/wekan/wekan/pull/1932/files
Thanks to schulz !
This commit is contained in:
parent
5b8c642d8f
commit
2206c5c84c
3 changed files with 30 additions and 2 deletions
|
|
@ -38,7 +38,10 @@ Blaze.Template.registerHelper('mentions', new Template('mentions', function() {
|
|||
const view = this;
|
||||
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
||||
const knowedUsers = currentBoard.members.map((member) => {
|
||||
member.username = Users.findOne(member.userId).username;
|
||||
const u = Users.findOne(member.userId);
|
||||
if(u){
|
||||
member.username = u.username;
|
||||
}
|
||||
return member;
|
||||
});
|
||||
const mentionRegex = /\B@([\w.]*)/gi;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue