diff --git a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html
index 7e39d9341e..fcc3866d66 100644
--- a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html
+++ b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.html
@@ -78,6 +78,9 @@
+
+
+
diff --git a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts
index be4815f28c..54a884a848 100644
--- a/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts
+++ b/frontend/src/app/components/liquid-master-page/liquid-master-page.component.ts
@@ -22,7 +22,7 @@ export class LiquidMasterPageComponent implements OnInit {
footerVisible = true;
constructor(
- private stateService: StateService,
+ public stateService: StateService,
private languageService: LanguageService,
private enterpriseService: EnterpriseService,
private navigationService: NavigationService,
@@ -35,7 +35,7 @@ export class LiquidMasterPageComponent implements OnInit {
this.urlLanguage = this.languageService.getLanguageForUrl();
this.navigationService.subnetPaths.subscribe((paths) => {
this.networkPaths = paths;
- if (paths.liquid.indexOf('docs') > -1) {
+ if (paths.liquid && paths.liquid.indexOf('docs') > -1) {
this.footerVisible = false;
} else {
this.footerVisible = true;
@@ -50,4 +50,8 @@ export class LiquidMasterPageComponent implements OnInit {
onResize(): void {
this.isMobile = window.innerWidth <= 767.98;
}
+
+ isAngorEnabledForLiquid(): boolean {
+ return true; // Enable Angor for all Liquid networks
+ }
}
diff --git a/frontend/src/app/liquid/liquid-master-page.module.ts b/frontend/src/app/liquid/liquid-master-page.module.ts
index 17c2c8c416..f36c820d68 100644
--- a/frontend/src/app/liquid/liquid-master-page.module.ts
+++ b/frontend/src/app/liquid/liquid-master-page.module.ts
@@ -136,6 +136,10 @@ const routes: Routes = [
path: 'api',
loadChildren: () => import('../docs/docs.module').then(m => m.DocsModule)
},
+ {
+ path: 'angor',
+ loadChildren: () => import('../angor/angor.module').then(m => m.AngorModule)
+ },
],
},
];
diff --git a/frontend/src/app/services/state.service.ts b/frontend/src/app/services/state.service.ts
index 1cd1b6c90d..ae15a09da5 100644
--- a/frontend/src/app/services/state.service.ts
+++ b/frontend/src/app/services/state.service.ts
@@ -421,8 +421,10 @@ export class StateService {
}
isAngorEnabled() {
- return this.env.ANGOR_ENABLED;
- }
+ // Enabling Angor for liquid networks
+ return (this.env.ANGOR_ENABLED || this.env.BASE_MODULE === 'liquid') &&
+ (this.network === 'liquid' || this.network === 'liquidtestnet' || this.env.BASE_MODULE === 'liquid');
+ }
getHiddenProp(){
const prefixes = ['webkit', 'moz', 'ms', 'o'];