aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/PluginSettings/index.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx
index 8ccc740..e1b36ef 100644
--- a/src/components/PluginSettings/index.tsx
+++ b/src/components/PluginSettings/index.tsx
@@ -228,9 +228,12 @@ export default function PluginSettings() {
if (enabled && searchValue.status === SearchStatus.DISABLED) return false;
if (!enabled && searchValue.status === SearchStatus.ENABLED) return false;
if (!searchValue.value.length) return true;
+
+ const v = searchValue.value.toLowerCase();
return (
- plugin.name.toLowerCase().includes(searchValue.value.toLowerCase()) ||
- plugin.description.toLowerCase().includes(searchValue.value.toLowerCase())
+ plugin.name.toLowerCase().includes(v) ||
+ plugin.description.toLowerCase().includes(v) ||
+ plugin.tags?.some(t => t.toLowerCase().includes(v))
);
};