aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 907bc583b..29b02032f 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -45,6 +45,11 @@ export class AppComponent implements OnInit {
45 return this.serverService.getConfig().serverVersion 45 return this.serverService.getConfig().serverVersion
46 } 46 }
47 47
48 get serverCommit () {
49 const commit = this.serverService.getConfig().serverCommit || ''
50 return (commit !== '') ? '...' + commit : commit
51 }
52
48 get instanceName () { 53 get instanceName () {
49 return this.serverService.getConfig().instance.name 54 return this.serverService.getConfig().instance.name
50 } 55 }