Hide assets on mainnet.

This commit is contained in:
softsimon 2020-05-02 17:52:26 +07:00
parent 6a51162f99
commit 0d435c9e1a
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<li class="nav-item" routerLinkActive="active">
<a class="nav-link" routerLink="/tv" (click)="collapse()">TV view &nbsp;<img src="./resources/expand.png" width="15"/></a>
</li>
<li class="nav-item" routerLinkActive="active">
<li *ngIf="network === 'liquid'" class="nav-item" routerLinkActive="active">
<a class="nav-link" routerLink="/assets" (click)="collapse()">Assets</a>
</li>
<li class="nav-item" routerLinkActive="active">

View File

@ -1,5 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { StateService } from '../../services/state.service';
import { environment } from 'src/environments/environment';
@Component({
selector: 'app-master-page',
@ -7,6 +8,8 @@ import { StateService } from '../../services/state.service';
styleUrls: ['./master-page.component.scss']
})
export class MasterPageComponent implements OnInit {
network = environment.network;
navCollapsed = false;
connectionState = 2;