This commit is contained in:
Erik 2022-08-03 21:04:15 +03:00
parent c1c131ecd7
commit 80e4279245
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -115,7 +115,7 @@ class MentionFilter extends FilterSetting {
}; };
const { modified } = this[method.value](setting[list.value], params.map((o) => o.id)); const { modified } = this[method.value](setting[list.value], params.map((o) => o.id));
if (modified.length) { if (modified.length) {
index = `SETTING_SUCCESS_${method.toUpperCase()}`; index = `SETTING_SUCCESS_${method.value.toUpperCase()}`;
langParams.list = list; langParams.list = list;
langParams.modified = modified.filter((o) => modified.includes(o.id || o)).map((o) => o.name || o).join('__, __'); langParams.modified = modified.filter((o) => modified.includes(o.id || o)).map((o) => o.name || o).join('__, __');
} }