From 5ac1ec23b5bb85a7e8b6e867538a4b31348a082b Mon Sep 17 00:00:00 2001 From: Yannick M <85898240+mugishayannick@users.noreply.github.com> Date: Tue, 12 Dec 2023 17:02:39 +0200 Subject: [PATCH] sidebar ui fix --- renderer/src/components/Projects/ProjectRow.js | 15 ++++++++------- renderer/src/layouts/projects/SideBar.js | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) 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)) && (