Skip to content

Commit

Permalink
DOC-2579: correct syntax errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
kemister85 committed Nov 19, 2024
1 parent a859092 commit 63d5913
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/ROOT/partials/configuration/mentions_fetch.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ tinymce.init({
}
usersRequest.then((users) => {
/* `query.term` is the text the user typed after the '@' */
users = users.filter((user) => user.name.toLowerCase().includes(query.term.toLowerCase()))
users = users.filter((user) => {
return user.name.toLowerCase().includes(query.term.toLowerCase());
});
users = users.slice(0, 10);
Expand Down

0 comments on commit 63d5913

Please sign in to comment.