diff --git a/renderer/src/components/Projects/ProjectRow.js b/renderer/src/components/Projects/ProjectRow.js index c1cee48b2..310f91eb9 100644 --- a/renderer/src/components/Projects/ProjectRow.js +++ b/renderer/src/components/Projects/ProjectRow.js @@ -59,9 +59,10 @@ const ProjectRow = ({ } return 0; } + return ( - {projects?.length === 0 && ( + {((projects?.length === 0 && filteredProjects?.length > 0) || (!showArchived && projects?.length === archivedProjects?.length)) && (

You don't have any projects yet

@@ -87,12 +88,12 @@ const ProjectRow = ({ )} { - projects?.length !== 0 && filteredProjects?.length === 0 && ( - - -

No projects found. Try a different search term.

- - + projects?.length > 0 && filteredProjects?.length === 0 && ( + + +

No projects found. Try a different search term.

+ + ) } { diff --git a/renderer/src/layouts/projects/SideBar.js b/renderer/src/layouts/projects/SideBar.js index e4ed77b08..d5a484e4f 100644 --- a/renderer/src/layouts/projects/SideBar.js +++ b/renderer/src/layouts/projects/SideBar.js @@ -46,7 +46,7 @@ export default function SideBar() {