Display frontend / backend version at the homescreen
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { environment } from '../../environments/environment';
|
||||
import { AuthService } from '../auth/auth.service';
|
||||
|
||||
@Component({
|
||||
@ -8,5 +9,9 @@ import { AuthService } from '../auth/auth.service';
|
||||
styleUrls: ['./home.component.css'],
|
||||
})
|
||||
export class HomeComponent {
|
||||
constructor(public auth: AuthService) {}
|
||||
version: string;
|
||||
|
||||
constructor(public auth: AuthService) {
|
||||
this.version = environment.version;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user