Merge branch 'feature-add-seen' of https://github.com/crhallberg/Piped into feature-add-seen

This commit is contained in:
Chris Hallberg 2022-10-17 22:33:32 -04:00
commit 9c8c8d8164

View file

@ -196,6 +196,7 @@ export default {
},
markAsWatched(videoId) {
if (window.db) {
// Should match WatchVideo.vue
var tx = window.db.transaction("watch_history", "readwrite");
var store = tx.objectStore("watch_history");
var request = store.get(videoId);