Adding support for optional frontend config.

Dropdown network selector is hidden by default, and enabled using config.
fixes #79
This commit is contained in:
softsimon
2020-06-22 22:10:49 +07:00
parent 7e9ba6b983
commit 0a264a7078
11 changed files with 86 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
import { Component, OnInit, HostListener } from '@angular/core';
import { StateService } from '../../services/state.service';
import { env } from 'src/app/app.constants';
@Component({
selector: 'app-master-page',
@@ -9,6 +10,7 @@ import { StateService } from '../../services/state.service';
export class MasterPageComponent implements OnInit {
network = '';
tvViewRoute = '/tv';
env = env;
navCollapsed = false;
connectionState = 2;