diff --git a/package.json b/package.json index 39f7fdf2..49e2e2d6 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "dompurify": "^2.3.0", "hotkeys-js": "^3.8.7", "mux.js": "^5.12.2", + "javascript-time-ago": "^2.3.8", "register-service-worker": "^1.7.1", "shaka-player": "3.2.0", "uikit": "3.7.0", diff --git a/src/components/Channel.vue b/src/components/Channel.vue index 116afb7b..8ba6dd19 100644 --- a/src/components/Channel.vue +++ b/src/components/Channel.vue @@ -13,7 +13,7 @@ style="background: #222" type="button" > - Subscribe + {{ subscribed ? "Unsubscribe" : "Subscribe" }}
{{ video.title }}
+