Add test environment variables
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<button mat-icon-button (click)="snav.toggle()">
|
||||
<mat-icon>menu</mat-icon>
|
||||
</button>
|
||||
<h1 class="topbar-app-name">DiunaBI</h1>
|
||||
<h1 class="topbar-app-name">DiunaBI {{environment.appTitle}}</h1>
|
||||
<span class="fill-to-right"></span>
|
||||
<span class="topbar-user-name" *ngIf="auth$.user">
|
||||
<img *ngIf="auth$.user.avatar" src="{{auth$.user.avatar}}" class="avatar">
|
||||
|
||||
@@ -5,6 +5,7 @@ import { SwUpdate } from '@angular/service-worker';
|
||||
import * as moment from 'moment';
|
||||
import packageInfo from 'package.json';
|
||||
import { delay } from 'rxjs';
|
||||
import { environment } from 'src/environments/environment';
|
||||
import { AuthService } from '../auth/auth.service';
|
||||
import { DataService } from '../services/data.service';
|
||||
import { DeviceService } from '../services/device.service';
|
||||
@@ -21,6 +22,7 @@ export class MainViewComponent {
|
||||
currentDate = moment().toDate();
|
||||
flipPhone = false;
|
||||
loading = false;
|
||||
environment = environment;
|
||||
|
||||
constructor(
|
||||
public data$: DataService,
|
||||
|
||||
Reference in New Issue
Block a user