diff --git a/frontend/src/HomePage/HomePage.jsx b/frontend/src/HomePage/HomePage.jsx
index d6d7a22832..d0b5102457 100644
--- a/frontend/src/HomePage/HomePage.jsx
+++ b/frontend/src/HomePage/HomePage.jsx
@@ -83,7 +83,7 @@ class HomePage extends React.Component {
- {!isLoading && apps.length === 0 &&
+ {!isLoading && meta.total_count === 0 &&
@@ -93,9 +93,6 @@ class HomePage extends React.Component {
You haven't created any apps yet.
-
- Try adjusting your search or filter to find what you're looking for.
-
}
+ {(isLoading || meta.total_count > 0) &&
+
@@ -126,11 +125,11 @@ class HomePage extends React.Component {
- {meta.folder_count > 0 && (
+
-
All applications
+ {currentFolder.id ? `Folder: ${currentFolder.name}` : 'All applications'}
@@ -162,51 +161,59 @@ class HomePage extends React.Component {
>
)}
- {apps.map((app) => (
-
-
- {app.name}
- created {app.created_at} ago by {app.user.first_name} {app.user.last_name}
- |
-
-
- launch
-
-
-
- Edit
-
+ {meta.total_count > 0 && (
+ <>
-
- |
-
))
+ {apps.map((app) => (
+
+
+ {app.name}
+ created {app.created_at} ago by {app.user.first_name} {app.user.last_name}
+ |
+
+
+ launch
+
+
+
+ Edit
+
+
+
+
+ |
+
))
+ }
+ >)
}
+ {meta.total_count > 0 && (
+ )}
- )}
+ }
);
}