fix: not search plugin if marketplace enabled (#21880)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user