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({ if (!this.userIsFinished) {
text: this.userIsFinished ? 'Mark as Not Finished' : 'Mark as Finished', items.push({
value: 'markFinished' text: 'Mark as Finished',
}) value: 'markFinished'
})
}
if (this.progressPercent > 0 && !this.userIsFinished) { if (this.progressPercent > 0) {
items.push({ items.push({
text: 'Discard Progress', text: 'Discard Progress',
value: 'discardProgress' value: 'discardProgress'