Assign tasks

This commit is contained in:
CHIEFSOFT\ameye
2024-02-13 11:05:53 -05:00
parent e4a298e4ea
commit 0bd13e3918
4 changed files with 39 additions and 3 deletions
@@ -27,17 +27,14 @@ export class FamiliyDashComponent implements OnInit {
private wrenchService: WrenchService) {
addEventListener('app_fastreward_action', () => {
// this.pageItem.family_action = "FAMILY_ACTION_SEND_REWARD";
this.router.navigate(['family'],{state: {page_name: 0, family_action: 'FAMILY_ACTION_SEND_REWARD'}});
});
addEventListener('app_familiy_nokids_action', () => {
// this.pageItem.family_action = "FAMILY_ACTION_NO_KIDS";
this.router.navigate(['addfamilykid'],{state: {page_name: 0, family_action: 'FAMILY_ACTION_NO_KIDS'}});
});
addEventListener('app_familiy_notask_action', () => {
// this.pageItem.family_action = "FAMILY_ACTION_NO_TASKS";
this.router.navigate(['family'],{state: {page_name: 0, family_action: 'FAMILY_ACTION_NO_TASKS'}});
});