mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-19 21:17:51 +00:00
Update project-map.component.ts
This commit is contained in:
parent
032a700040
commit
6f62f4171d
@ -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`;
|
||||
|
Loading…
Reference in New Issue
Block a user