mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-16 22:48:51 +00:00
Updating version to 3.0
This commit is contained in:
parent
84f7fabdc8
commit
ab6c43c167
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gns3-web-ui",
|
||||
"version": "2.2.21dev",
|
||||
"version": "3.0.0dev",
|
||||
"author": {
|
||||
"name": "GNS3 Technology Inc.",
|
||||
"email": "developers@gns3.com"
|
||||
|
@ -154,7 +154,7 @@ export class AddServerDialogComponent implements OnInit {
|
||||
const server: Server = Object.assign({}, this.serverForm.value);
|
||||
this.serverService.checkServerVersion(server).subscribe(
|
||||
(serverInfo) => {
|
||||
if (serverInfo.version.split('.')[1] >= 2 && serverInfo.version.split('.')[0] >= 2) {
|
||||
if (serverInfo.version.split('.')[0] >= 3) {
|
||||
this.dialogRef.close(server);
|
||||
this.toasterService.success(`Server ${server.name} added.`);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user