diff --git a/packages/napcat-webui-frontend/src/components/display_card/plugin_card.tsx b/packages/napcat-webui-frontend/src/components/display_card/plugin_card.tsx index bf2f4498..e79ab221 100644 --- a/packages/napcat-webui-frontend/src/components/display_card/plugin_card.tsx +++ b/packages/napcat-webui-frontend/src/components/display_card/plugin_card.tsx @@ -24,7 +24,7 @@ const PluginDisplayCard: React.FC = ({ hasConfig = false, }) => { const { name, version, author, description, status } = data; - const isEnabled = status !== 'disabled'; + const isEnabled = status === 'active'; const [processing, setProcessing] = useState(false); const handleToggle = () => {