Skip to content

Commit

Permalink
Allows sidebar to be closed when project ID exists
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs committed Oct 27, 2023
1 parent c3718f3 commit 08398dd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/features/projects/view/client/ProjectsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@ export default function ProjectsPage({
}
return (
<SidebarContainer
canCloseDrawer={
project !== undefined &&
version !== undefined &&
specification !== undefined
}
canCloseDrawer={projectId !== undefined}
forceClose={forceCloseSidebar}
sidebar={
<ProjectList
Expand Down

0 comments on commit 08398dd

Please sign in to comment.