mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-05 17:18:50 +01:00
todo component fix
This commit is contained in:
parent
472155af22
commit
8fe294bd34
1 changed files with 1 additions and 5 deletions
|
|
@ -20,10 +20,6 @@ export class Todo {
|
|||
this.todoList = this._todoService.getTodoList();
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
}
|
||||
|
||||
getNotDeleted() {
|
||||
return this.todoList.filter((item:any) => {return !item.deleted})
|
||||
}
|
||||
|
|
@ -48,7 +44,7 @@ export class Todo {
|
|||
}
|
||||
}
|
||||
|
||||
addToDoItem($event, clickPlus) {
|
||||
addToDoItem($event) {
|
||||
|
||||
if ($event.which === 1 || $event.which === 13) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue