]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/app.component.ts
Fix human dates in result lists
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.ts
index ba52c2102b854abfc417cb4253f0531f83eeb56c..58464029063840869ec25e0d4a9a5b3e526f2f6a 100644 (file)
@@ -29,6 +29,10 @@ export class AppComponent implements OnInit {
     private serverService: ServerService
   ) {}
 
+  get serverVersion () {
+    return this.serverService.getConfig().serverVersion
+  }
+
   ngOnInit () {
     this.authService.loadClientCredentials()