@@ -351,7 +351,7 @@ const ImageModelPage: NextPageWithLayout = () => {
) : (
<>>
)}
- {botParams && botParams.parameters?.length > 0 && (
+ {botParams && botParams.parameters?.length > 0 && Object.keys(filteredParams).length > 0 && (
{
)}
- {botParams && botParams.parameters?.length > 0 ? (
+ {botParams && botParams.parameters?.length > 0 && Object.keys(filteredParams).length > 0 ? (
setOpenFiltersMobile(false)} reset={resetParams} />
@@ -433,7 +433,7 @@ const ImageModelPage: NextPageWithLayout = () => {
) : (
<>>
)}
- {botParams && botParams.parameters?.length > 0 ? (
+ {botParams && botParams.parameters?.length > 0 && Object.keys(filteredParams).length > 0 ? (
<>