summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/PrefHelpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js
index c171b87ce..b72dbc881 100644
--- a/js/PrefHelpers.js
+++ b/js/PrefHelpers.js
@@ -454,7 +454,7 @@ const Helpers = {
dialog.entries.forEach((plugin) => {
const is_installed = (dialog.installed_plugins
- .filter((p) => plugin.topics.map((t) => t.replace(/-/, "_")).includes(p))).length > 0;
+ .filter((p) => plugin.topics.map((t) => t.replace(/-/g, "_")).includes(p))).length > 0;
if (search_tokens.length == 0 ||
Object.values(plugin).filter((pval) =>