diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-31 10:19:34 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-31 10:19:34 +0100 |
commit | 915c5bbe538769b1d3430b27817d6a861c766ef3 (patch) | |
tree | 9200deffc7d1a83eed52a01b6fb3755776c51ca9 /client/src/app/app.component.ts | |
parent | c8cf5952f3be2dd64016c10dfe1825a6de1ec39b (diff) | |
download | PeerTube-915c5bbe538769b1d3430b27817d6a861c766ef3.tar.gz PeerTube-915c5bbe538769b1d3430b27817d6a861c766ef3.tar.zst PeerTube-915c5bbe538769b1d3430b27817d6a861c766ef3.zip |
Add version in footer
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index ba52c2102..584640290 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -29,6 +29,10 @@ export class AppComponent implements OnInit { | |||
29 | private serverService: ServerService | 29 | private serverService: ServerService |
30 | ) {} | 30 | ) {} |
31 | 31 | ||
32 | get serverVersion () { | ||
33 | return this.serverService.getConfig().serverVersion | ||
34 | } | ||
35 | |||
32 | ngOnInit () { | 36 | ngOnInit () { |
33 | this.authService.loadClientCredentials() | 37 | this.authService.loadClientCredentials() |
34 | 38 | ||