From 80e427924577b69c53e6617c5fb3b19b7501b5bf Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 3 Aug 2022 21:04:15 +0300 Subject: [PATCH] bugfix --- src/structure/components/settings/moderation/MentionFilter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/settings/moderation/MentionFilter.js b/src/structure/components/settings/moderation/MentionFilter.js index 0d32037..65cea17 100644 --- a/src/structure/components/settings/moderation/MentionFilter.js +++ b/src/structure/components/settings/moderation/MentionFilter.js @@ -115,7 +115,7 @@ class MentionFilter extends FilterSetting { }; const { modified } = this[method.value](setting[list.value], params.map((o) => o.id)); if (modified.length) { - index = `SETTING_SUCCESS_${method.toUpperCase()}`; + index = `SETTING_SUCCESS_${method.value.toUpperCase()}`; langParams.list = list; langParams.modified = modified.filter((o) => modified.includes(o.id || o)).map((o) => o.name || o).join('__, __'); }