enable status view for liquid and testnet
This commit is contained in:
parent
2aca447f9e
commit
f5260b72e5
@ -219,6 +219,14 @@ const routes: Routes = [
|
|||||||
path: 'status-view',
|
path: 'status-view',
|
||||||
component: StatusViewComponent
|
component: StatusViewComponent
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'liquid-status-view',
|
||||||
|
component: StatusViewComponent
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'testnet-status-view',
|
||||||
|
component: StatusViewComponent
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '**',
|
path: '**',
|
||||||
redirectTo: ''
|
redirectTo: ''
|
||||||
|
@ -54,6 +54,7 @@ export class StateService {
|
|||||||
switch (url.split('/')[1]) {
|
switch (url.split('/')[1]) {
|
||||||
case 'liquid':
|
case 'liquid':
|
||||||
case 'liquid-tv':
|
case 'liquid-tv':
|
||||||
|
case 'liquid-status-view':
|
||||||
if (this.network !== 'liquid') {
|
if (this.network !== 'liquid') {
|
||||||
this.network = 'liquid';
|
this.network = 'liquid';
|
||||||
this.networkChanged$.next('liquid');
|
this.networkChanged$.next('liquid');
|
||||||
@ -61,6 +62,7 @@ export class StateService {
|
|||||||
return;
|
return;
|
||||||
case 'testnet':
|
case 'testnet':
|
||||||
case 'testnet-tv':
|
case 'testnet-tv':
|
||||||
|
case 'testnet-status-view':
|
||||||
if (this.network !== 'testnet') {
|
if (this.network !== 'testnet') {
|
||||||
this.network = 'testnet';
|
this.network = 'testnet';
|
||||||
this.networkChanged$.next('testnet');
|
this.networkChanged$.next('testnet');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user