mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fix
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { customTaskList } from '../models/dailyworktask.model';
|
||||
import { customTask } from '../models/dailyworktask.model';
|
||||
|
||||
@Pipe({
|
||||
name: 'customTask'
|
||||
})
|
||||
export class CustomTaskPipe implements PipeTransform {
|
||||
|
||||
transform(fullTask): customTaskList {
|
||||
transform(fullTask): customTask {
|
||||
|
||||
let date = new Date(fullTask.taskStartDate);
|
||||
date.setMonth(date.getMonth() + 1);
|
||||
|
||||
Reference in New Issue
Block a user