diff --git a/src/App.vue b/src/App.vue
index 4685d76..d55b622 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -56,6 +56,11 @@ export default {
id: 'trending',
name: 'Trending',
to: '/'
+ },
+ {
+ id: 'watch-history',
+ name: 'Watch History',
+ to: '/watch-history'
}
]
}),
diff --git a/src/components/VideoItem.vue b/src/components/VideoItem.vue
index 61bdf9c..955a0b4 100644
--- a/src/components/VideoItem.vue
+++ b/src/components/VideoItem.vue
@@ -3,15 +3,16 @@
{{ video.title }}
-
- {{ video.uploaderName }}
+
+ {{ video.uploaderName || video.uploader }}
+
{{ numberFormat(video.views) }} views
{{ video.uploadedDate }}
{{ timeFormat(video.duration) }}
diff --git a/src/routes/WatchHistory.vue b/src/routes/WatchHistory.vue
index 9926003..ca73342 100644
--- a/src/routes/WatchHistory.vue
+++ b/src/routes/WatchHistory.vue
@@ -1,20 +1,76 @@
-
+
+
+
+
+ Delete History
+
+
+
+
+
+
+
+
+ Watched {{ doc.timeAgo }}
+
+
+ {{ doc.timestamp.toString() }}
+
+
+
+
+