Remove setting task bucket to 0
This commit is contained in:
parent
23950c0602
commit
f0ac6e89be
1 changed files with 0 additions and 5 deletions
|
@ -706,11 +706,6 @@ func (t *Task) Update() (err error) {
|
||||||
if t.PercentDone == 0 {
|
if t.PercentDone == 0 {
|
||||||
ot.PercentDone = 0
|
ot.PercentDone = 0
|
||||||
}
|
}
|
||||||
// Bucket ID
|
|
||||||
// Yes it is possible to move a task back into the empty bucket
|
|
||||||
if t.BucketID == 0 {
|
|
||||||
ot.BucketID = 0
|
|
||||||
}
|
|
||||||
// Position
|
// Position
|
||||||
if t.Position == 0 {
|
if t.Position == 0 {
|
||||||
ot.Position = 0
|
ot.Position = 0
|
||||||
|
|
Loading…
Reference in a new issue