mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
fix
This commit is contained in:
@@ -105,11 +105,7 @@ export class TaskService {
|
||||
}
|
||||
|
||||
const creationDate = new Date(isoDateString)
|
||||
const creationDatePlus24h = new Date(creationDate)
|
||||
creationDatePlus24h.setHours((creationDate.getHours() + 24))
|
||||
const currentDate = new Date()
|
||||
|
||||
return creationDatePlus24h.getTime() > currentDate.getTime()
|
||||
return momentG(new Date(), 'dd MMMM yyyy') == momentG(new Date(creationDate), 'dd MMMM yyyy')
|
||||
}
|
||||
|
||||
filter(item, attribute) {
|
||||
|
||||
@@ -48,9 +48,9 @@ export class AllProcessesPage implements OnInit {
|
||||
|
||||
|
||||
setTimeout(() => {
|
||||
console.log('this.TaskService.AllProcess', this.TaskService.AllProcess)
|
||||
this.miniSearch.addAll(this.TaskService.AllProcess)
|
||||
window['miniSearch'] = this.miniSearch
|
||||
// console.log('this.TaskService.AllProcess', this.TaskService.AllProcess)
|
||||
// this.miniSearch.addAll(this.TaskService.AllProcess)
|
||||
// window['miniSearch'] = this.miniSearch
|
||||
}, 5000)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user