Skip to content

Commit

Permalink
Merge pull request #77 from shapehq/bugfix/sidebar-cannot-be-closed
Browse files Browse the repository at this point in the history
Allows sidebar to be closed when project ID exists
  • Loading branch information
simonbs authored Oct 27, 2023
2 parents c3718f3 + 08398dd commit 0adb2ea
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 0adb2ea

Please sign in to comment.