mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
parent
dd95f0b002
commit
301210c87b
2 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ Template.editor.onRendered(() => {
|
|||
search(term, callback) {
|
||||
callback(Emoji.values.map((emoji) => {
|
||||
return emoji.includes(term) ? emoji : null;
|
||||
}).filter(emoji => !!emoji));
|
||||
}).filter(Boolean));
|
||||
},
|
||||
template(value) {
|
||||
const imgSrc = Emoji.baseImagePath + value;
|
||||
|
@ -31,7 +31,7 @@ Template.editor.onRendered(() => {
|
|||
callback(currentBoard.activeMembers().map((member) => {
|
||||
const username = Users.findOne(member.userId).username;
|
||||
return username.includes(term) ? username : null;
|
||||
}).filter(username => !!username));
|
||||
}).filter(Boolean));
|
||||
},
|
||||
template(value) {
|
||||
return value;
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
"description": "The open-source Trello-like kanban",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"lint": "eslint .; exit 0",
|
||||
"test": "npm run --silent lint; exit 0"
|
||||
"lint": "eslint .",
|
||||
"test": "npm run --silent lint"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue