Added a comment for location.reload() function

This commit is contained in:
Rajnikant 2022-04-18 12:27:43 +05:30
parent 78f2b76a14
commit 834cdecd80

View File

@ -72,6 +72,7 @@ export class LinkStyleEditorDialogComponent implements OnInit {
this.linksDataSource.update(link); this.linksDataSource.update(link);
this.linksEventSource.edited.next(this.linkToMapLink.convert(link)); this.linksEventSource.edited.next(this.linkToMapLink.convert(link));
location.reload() location.reload()
// we add this code/line for reload the entire page because single graph/link style is not updated automatically.
// this.toasterService.success("Link updated"); // this.toasterService.success("Link updated");
this.dialogRef.close(); this.dialogRef.close();
}); });