mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-28 23:48:45 +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({
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user