mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-31 08:25:35 +00:00
Fix for #514
This commit is contained in:
parent
dfa25d7b94
commit
4d5ac71f0b
@ -45,7 +45,9 @@ export class DuplicateActionComponent {
|
||||
})
|
||||
}
|
||||
|
||||
runningNodes = runningNodes.substring(0, runningNodes.length-2);
|
||||
this.toasterService.error(`Cannot duplicate node data for nodes: ${runningNodes}`);
|
||||
if (runningNodes.length > 0) {
|
||||
runningNodes = runningNodes.substring(0, runningNodes.length-2);
|
||||
this.toasterService.error(`Cannot duplicate node data for nodes: ${runningNodes}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user