feat: group actions (attendance) (#1047)

#1046
This commit is contained in:
Karan Takalkar
2020-07-09 16:39:18 +05:30
committed by GitHub
parent 5d4f4ed14c
commit 66e53e97a0
11 changed files with 242 additions and 4 deletions
@@ -28,6 +28,8 @@ export class GroupActionsResolver implements Resolve<Object> {
const actionName = route.paramMap.get('name');
const groupId = route.paramMap.get('groupId') || route.parent.parent.paramMap.get('groupId');
switch (actionName) {
case 'Attendance':
return this.groupsService.getGroupData(groupId);
case 'Assign Staff':
return this.groupsService.getGroupData(groupId, 'true');
case 'Close':