mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
Merge pull request #995 from vincent-pli/fix-market-empty-issue
Duplicate icon when market is empty
This commit is contained in:
@@ -175,19 +175,8 @@ const Marketplace = () => {
|
|||||||
)}
|
)}
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
))}
|
))}
|
||||||
{!isChatflowsLoading && (!getAllChatflowsMarketplacesApi.data || getAllChatflowsMarketplacesApi.data.length === 0) && (
|
{((!isChatflowsLoading && (!getAllChatflowsMarketplacesApi.data || getAllChatflowsMarketplacesApi.data.length === 0)) ||
|
||||||
<Stack sx={{ alignItems: 'center', justifyContent: 'center' }} flexDirection='column'>
|
(!isToolsLoading && (!getAllToolsMarketplacesApi.data || getAllToolsMarketplacesApi.data.length === 0))) && (
|
||||||
<Box sx={{ p: 2, height: 'auto' }}>
|
|
||||||
<img
|
|
||||||
style={{ objectFit: 'cover', height: '30vh', width: 'auto' }}
|
|
||||||
src={WorkflowEmptySVG}
|
|
||||||
alt='WorkflowEmptySVG'
|
|
||||||
/>
|
|
||||||
</Box>
|
|
||||||
<div>No Marketplace Yet</div>
|
|
||||||
</Stack>
|
|
||||||
)}
|
|
||||||
{!isToolsLoading && (!getAllToolsMarketplacesApi.data || getAllToolsMarketplacesApi.data.length === 0) && (
|
|
||||||
<Stack sx={{ alignItems: 'center', justifyContent: 'center' }} flexDirection='column'>
|
<Stack sx={{ alignItems: 'center', justifyContent: 'center' }} flexDirection='column'>
|
||||||
<Box sx={{ p: 2, height: 'auto' }}>
|
<Box sx={{ p: 2, height: 'auto' }}>
|
||||||
<img
|
<img
|
||||||
|
|||||||
Reference in New Issue
Block a user