diff --git a/src/pages/trees/[treeid].js b/src/pages/trees/[treeid].js index 427046c3e..7241cdc91 100644 --- a/src/pages/trees/[treeid].js +++ b/src/pages/trees/[treeid].js @@ -322,7 +322,7 @@ export default function Tree({ }, ] : []), - ...(context && context.name === 'organizations' + ...(context && context.name === 'organizations' && organization ? [ { url: `/organizations/${organization.id}`,