From 7e9ccee72ac399f1af0359d8b2c40ecaefe4cdaf Mon Sep 17 00:00:00 2001 From: NSUWAL123 Date: Wed, 6 Sep 2023 10:49:31 +0545 Subject: [PATCH] fix (explrore projects): map section to be shown in absence of projects as well --- src/frontend/main/src/views/Home.jsx | 32 ++++++++++++++++------------ 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/src/frontend/main/src/views/Home.jsx b/src/frontend/main/src/views/Home.jsx index 3c0b63037f..9717447e92 100755 --- a/src/frontend/main/src/views/Home.jsx +++ b/src/frontend/main/src/views/Home.jsx @@ -57,10 +57,10 @@ const Home = () => { totalProjectCount={stateHome.homeProjectSummary.length} /> {stateHome.homeProjectLoading == false ? ( - filteredProjectCards.length > 0 ? ( -
-
-
+
+
+ {filteredProjectCards.length > 0 ? ( +
{ ))}
- {/* fmtm-w-[41.8rem] */} - {showMapStatus && ( -
- )} -
+ ) : ( + + No projects found. + + )}
- ) : ( - - No projects found. - - ) + {showMapStatus && ( +
+ )} +
) : (