Delete task is functional
This commit is contained in:
@@ -98,7 +98,7 @@ class HomeworkPage extends HomeworkElement {
|
||||
if(tasks.length > 1) {
|
||||
tasks.forEach((task) => {
|
||||
if(event.detail.id == task.getId()) {
|
||||
alert(task.getId())
|
||||
console.log("Removing task '" + task.getId() + "'")
|
||||
task.remove()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user