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

Fix a minor bug

parent 3e13fa1b
...@@ -335,7 +335,7 @@ export class UserService { ...@@ -335,7 +335,7 @@ export class UserService {
return this.subscribeDeployments().pipe( return this.subscribeDeployments().pipe(
map((deployments: Deployment[]) => { map((deployments: Deployment[]) => {
return deployments.find( return deployments.find(
(dep: Deployment) => dep.vo.id == vo.id (dep: Deployment) => dep.vo ? dep.vo.id == vo.id : false
); );
} }
), ),
......
Supports Markdown
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