diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
index 333198bd..c804ec58 100644
--- a/src/components/NavBar.vue
+++ b/src/components/NavBar.vue
@@ -50,7 +50,7 @@
-
+
@@ -79,7 +79,7 @@
-
+
diff --git a/src/components/PlaylistsPage.vue b/src/components/PlaylistsPage.vue
index 27e4834a..33928f11 100644
--- a/src/components/PlaylistsPage.vue
+++ b/src/components/PlaylistsPage.vue
@@ -1,9 +1,7 @@
-
+
-
-
-
+
-
+
+
+
-
+
-
-
+
+
+
@@ -235,6 +243,12 @@ export default {
}
};
},
+ async removeBookmark(index) {
+ var tx = window.db.transaction("playlist_bookmarks", "readwrite");
+ var store = tx.objectStore("playlist_bookmarks");
+ store.delete(this.bookmarks[index].playlistId);
+ this.bookmarks.splice(index, 1);
+ },
},
};
diff --git a/src/locales/en.json b/src/locales/en.json
index 32fb7197..ac99729c 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -12,7 +12,8 @@
"instance": "Instance",
"player": "Player",
"livestreams": "Livestreams",
- "channels": "Channels"
+ "channels": "Channels",
+ "bookmarks": "Bookmarks"
},
"player": {
"watch_on": "Watch on {0}"