Update project-map.component.ts

This commit is contained in:
Piotr Pekala 2019-08-20 06:20:03 -07:00
parent 032a700040
commit 6f62f4171d

View File

@ -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`;