Display frontend / backend version at the homescreen

This commit is contained in:
2020-10-11 11:13:06 +05:30
parent d677cfb1ea
commit 9ecf0b5cc9
10 changed files with 20 additions and 4 deletions

View File

@ -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;
}
}