feat: add client action (surveys) (#618)

Fixes: #617
This commit is contained in:
Muskan Khedia
2020-07-13 13:58:59 +05:30
committed by GitHub
parent 9d827c8500
commit 894b9afeb6
11 changed files with 194 additions and 5 deletions
@@ -32,6 +32,8 @@ export class ClientActionsResolver implements Resolve<Object> {
return this.clientsService.getClientDataAndTemplate(clientId);
case 'Close':
return this.clientsService.getClientCommandTemplate('close');
case 'Survey':
return this.clientsService.getSurveys(clientId);
default:
return undefined;
}