N°7552 - Fix mentions not taking triggers filter into account

This commit is contained in:
Molkobain
2024-07-04 11:30:10 +02:00
parent 8c4c0ff5e1
commit c3582f0aff
6 changed files with 125 additions and 122 deletions

View File

@@ -22,12 +22,12 @@ const CombodoCKEditorFeeds = {
})
.then(json => {
// ckeditor mandatory data
json.data['search_data'].forEach(e => {
json.search_data.forEach(e => {
e['name'] = e['friendlyname'];
e['id'] = options['marker']+e['friendlyname'];
});
// return searched data
resolve( json.data['search_data']);
resolve( json.search_data);
});
}, options.throttle);