fix: not search plugin if marketplace enabled (#21880)
This commit is contained in:
parent
06c3deff11
commit
ed54bd5121
2 changed files with 9 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue