fixed create vlan issue

This commit is contained in:
Dragos 2021-05-13 14:03:21 +03:00
parent 53b8b4e7af
commit e1086d66d2
4 changed files with 4 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -202,6 +202,8 @@ export class NetworksComponent implements OnInit, OnDestroy
} }
else else
this.vlans.push(x); this.vlans.push(x);
this.applyFiltersAndSort();
}); });
} }

View File

@ -78,8 +78,8 @@ export class VirtualNetworkEditorComponent implements OnInit
observable.subscribe(x => observable.subscribe(x =>
{ {
const message = this.vlan const message = this.vlan
? `The "${changes.name}" virtual network has been succesfully updated` ? `The "${changes.name}" virtual network has been successfully updated`
: `The "${changes.name}" virtual network has been succesfully created`; : `The "${changes.name}" virtual network has been successfully created`;
this.toastr.info(message); this.toastr.info(message);
this.working = false; this.working = false;