This commit is contained in:
Peter Maquiran
2021-08-18 14:15:45 +01:00
parent e4881a535f
commit 4bfacfde90
4 changed files with 4 additions and 10 deletions
@@ -1,5 +1,5 @@
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { customTaskList, tasksList } from 'src/app/models/dailyworktask.model';
import { customTaskList } from 'src/app/models/dailyworktask.model';
@Component({
selector: 'app-task-list',
@@ -10,7 +10,7 @@ export class TaskListPage implements OnInit {
@Input() taskList: customTaskList[] = [];
@Input() skeletonLoader: boolean = false
@Output() goToTaskDetail = new EventEmitter<customTaskList>();
@Output() viewTaskDetail = new EventEmitter<customTaskList>();
constructor() {
console.log('taskList', this.taskList)
@@ -18,8 +18,4 @@ export class TaskListPage implements OnInit {
ngOnInit() {}
viewTaskDetail(task: customTaskList) {
this.goToTaskDetail.emit(task);
}
}