This commit is contained in:
parent
a1bb5b1e3a
commit
b2c5a9062e
2 changed files with 4 additions and 1 deletions
|
@ -108,7 +108,7 @@
|
|||
<li><span class='h'>Dave Storey</span>: communication</li>
|
||||
</ul>
|
||||
<p><span class='h'>Contact</span>: phil.treetrail at philome.mooo.com</p>
|
||||
<p><span class='h'>Version</span>: {{conf.bootstrap?.client.version }}</p>
|
||||
<p><span class='h'>Version</span>: {{conf.bootstrap?.client.version }}, frontend: {{ version }}</p>
|
||||
</mat-expansion-panel>
|
||||
|
||||
<mat-expansion-panel>
|
||||
|
|
|
@ -3,6 +3,7 @@ import { Router } from '@angular/router'
|
|||
|
||||
import { ActionService } from '../action.service'
|
||||
import { ConfigService, Config } from '../config.service'
|
||||
import versionJson from '../../version.json'
|
||||
|
||||
@Component({
|
||||
selector: 'app-settings',
|
||||
|
@ -17,6 +18,8 @@ export class SettingsComponent implements OnInit {
|
|||
public router: Router,
|
||||
) { }
|
||||
|
||||
public version: string = versionJson.version
|
||||
|
||||
ngOnInit(): void {
|
||||
this.configService.conf.subscribe(
|
||||
conf => this.conf = conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue