Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Jan 5, 2022
1 parent f850dd1 commit 0c9e236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-app-files/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const navItems = [
path: `/${appInfo.id}/spaces/projects`
},
enabled(capabilities) {
return capabilities.spaces.enabled === true
return capabilities.spaces && capabilities.spaces.enabled === true
}
},
{
Expand Down

0 comments on commit 0c9e236

Please sign in to comment.