From ae98401bd350bd327142d2d07444ce62cce9238c Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 9 Feb 2023 19:36:30 +0100 Subject: Fix lag when alt tabbing to Discord --- src/components/PluginSettings/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/PluginSettings') diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 34e6828..4e64eb8 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -222,7 +222,7 @@ export default ErrorBoundary.wrap(function PluginSettings() { const onStatusChange = (status: SearchStatus) => setSearchValue(prev => ({ ...prev, status })); const pluginFilter = (plugin: typeof Plugins[keyof typeof Plugins]) => { - const enabled = settings.plugins[plugin.name]?.enabled || plugin.started; + const enabled = settings.plugins[plugin.name]?.enabled; if (enabled && searchValue.status === SearchStatus.DISABLED) return false; if (!enabled && searchValue.status === SearchStatus.ENABLED) return false; if (!searchValue.value.length) return true; -- cgit