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
commit ed54bd5121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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,