fix: not search plugin if marketplace enabled (#21880)

This commit is contained in:
Joel
2025-07-03 16:43:11 +08:00
committed by GitHub
parent 06c3deff11
commit ed54bd5121
2 changed files with 9 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ const AllTools = ({
const { enable_marketplace } = useGlobalPublicStore(s => s.systemFeatures)
useEffect(() => {
if (enable_marketplace) return
if (!enable_marketplace) return
if (searchText || tags.length > 0) {
fetchPlugins({
query: searchText,