Frontend version: disable - method to be polished
All checks were successful
/ build (push) Successful in 27s
All checks were successful
/ build (push) Successful in 27s
This commit is contained in:
parent
c4c5fd9f11
commit
963d3437c0
4 changed files with 16 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
</mat-card-title>
|
||||
<mat-card-content>
|
||||
<h2>Version</h2>
|
||||
<p><span class='h'>Client: </span>{{ (configService.conf | async).bootstrap.client.version }}></p>
|
||||
<!--<p><span class='h'>Client: </span>{{ version }}></p>-->
|
||||
<p><span class='h'>Server: </span>{{ (configService.conf | async).bootstrap.server.version }}</p>
|
||||
</mat-card-content>
|
||||
</mat-card>
|
|
@ -1,6 +1,8 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component, OnInit } from '@angular/core'
|
||||
|
||||
import { ConfigService } from '../config.service'
|
||||
// TODO: get the dynamic version from the git tags
|
||||
//import packageJson from '../../../package.json'
|
||||
|
||||
@Component({
|
||||
selector: 'app-about',
|
||||
|
@ -12,6 +14,8 @@ export class AboutComponent implements OnInit {
|
|||
public configService: ConfigService,
|
||||
) { }
|
||||
|
||||
//public version: string = packageJson.version
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue