mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-31 15:47:13 +02:00
Merge pull request #561 from lkiesow/simplify-progress
Simplify progress (re)sets
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user