diff --git a/pages/item/_id/index.vue b/pages/item/_id/index.vue
index 4eefa7c3..af539857 100644
--- a/pages/item/_id/index.vue
+++ b/pages/item/_id/index.vue
@@ -43,9 +43,6 @@
Your Progress: {{ Math.round(progressPercent * 100) }}%
{{ $elapsedPretty(userTimeRemaining) }} remaining
Finished {{ $formatDate(userProgressFinishedAt) }}
-
- close
-
@@ -378,6 +375,13 @@ export default {
text: this.userIsFinished ? 'Mark as Not Finished' : 'Mark as Finished',
value: 'markFinished'
})
+
+ if (this.progressPercent > 0 && !this.userIsFinished) {
+ items.push({
+ text: 'Discard Progress',
+ value: 'discardProgress'
+ })
+ }
}
if (this.localLibraryItemId) {
@@ -445,6 +449,8 @@ export default {
this.toggleFinished()
} else if (action === 'history') {
this.$router.push(`/media/${this.mediaId}/history?title=${this.title}`)
+ } else if (action === 'discardProgress') {
+ this.clearProgressClick()
}
},
moreButtonPress() {