Do not show closed tasks in task move position form
This commit is contained in:
4
assets/js/app.min.js
vendored
4
assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -42,6 +42,10 @@ Vue.component('task-move-position', {
|
||||
this.columns.forEach(function(column) {
|
||||
if (column.id == self.columnId) {
|
||||
self.tasks = column.tasks;
|
||||
|
||||
if (self.tasks.length > 0) {
|
||||
self.position = parseInt(self.tasks[0]['position']);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user