Merge pull request #561 from lkiesow/simplify-progress

Simplify progress (re)sets
This commit is contained in:
advplyr
2023-02-08 16:53:24 -06:00
committed by GitHub
+7 -5
View File
@@ -372,12 +372,14 @@ export default {
})
}
items.push({
text: this.userIsFinished ? 'Mark as Not Finished' : 'Mark as Finished',
value: 'markFinished'
})
if (!this.userIsFinished) {
items.push({
text: 'Mark as Finished',
value: 'markFinished'
})
}
if (this.progressPercent > 0 && !this.userIsFinished) {
if (this.progressPercent > 0) {
items.push({
text: 'Discard Progress',
value: 'discardProgress'