Commit 2fe82cdc authored by Lukas Burgey's avatar Lukas Burgey

Fix a minor bug

parent 3e13fa1b
......@@ -335,7 +335,7 @@ export class UserService {
return this.subscribeDeployments().pipe(
map((deployments: Deployment[]) => {
return deployments.find(
(dep: Deployment) => dep.vo.id == vo.id
(dep: Deployment) => dep.vo ? dep.vo.id == vo.id : false
);
}
),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment