diff --git a/src/app/components/project-map/project-map.component.ts b/src/app/components/project-map/project-map.component.ts index 44128aaf..ca1b28f5 100644 --- a/src/app/components/project-map/project-map.component.ts +++ b/src/app/components/project-map/project-map.component.ts @@ -464,7 +464,7 @@ export class ProjectMapComponent implements OnInit, OnDestroy { } exportProject() { - if (this.nodes.filter(node => node.node_type = 'virtualbox').length > 0) { + if (this.nodes.filter(node => node.node_type === 'virtualbox').length > 0) { this.toasterService.error('Map with VirtualBox machines cannot be exported.') } else { window.location.href = `http://${this.server.host}:${this.server.port}/v2/projects/${this.project.project_id}/export`;