feat: client actions (update-savings) (#1079)

Fixes: #1078
This commit is contained in:
Karan Takalkar
2020-07-13 17:49:15 +05:30
committed by GitHub
parent d186e208ea
commit 5541e1fe8d
10 changed files with 143 additions and 2 deletions
@@ -29,6 +29,7 @@ export class ClientActionsResolver implements Resolve<Object> {
const clientId = route.paramMap.get('clientId') || route.parent.parent.paramMap.get('clientId');
switch (actionName) {
case 'Assign Staff':
case 'Update Default Savings':
return this.clientsService.getClientDataAndTemplate(clientId);
case 'Survey':
return this.clientsService.getSurveys(clientId);