mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-25 08:38:57 -06:00
fix(ui): removed tasks not being properly filtered
This commit is contained in:
@@ -65,8 +65,8 @@ function list (context) {
|
||||
})
|
||||
|
||||
// Process removed tasks
|
||||
const removedTasks = currentTasks.filter(
|
||||
task => task.index === -1
|
||||
const removedTasks = list.filter(
|
||||
t => currentTasks.findIndex(c => c.id === t.id) === -1
|
||||
)
|
||||
// Remove badges
|
||||
removedTasks.forEach(task => {
|
||||
|
||||
Reference in New Issue
Block a user