feat: add edit center action (#1222)

Fixes: #1221
This commit is contained in:
Muskan Khedia
2020-08-23 21:50:55 +05:30
committed by GitHub
parent a783f92ce1
commit e4791d5761
10 changed files with 438 additions and 182 deletions
@@ -87,6 +87,9 @@ export class CentersViewComponent implements OnInit {
break;
case 'Delete':
this.deleteCenter();
break;
case 'Edit':
this.router.navigate(['edit'], { relativeTo: this.route });
}
}