Remove footer from bisq docs
This commit is contained in:
parent
982f1e007a
commit
82a072bd87
@ -86,6 +86,6 @@
|
|||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<app-global-footer></app-global-footer>
|
<app-global-footer *ngIf="footerVisible"></app-global-footer>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -17,7 +17,7 @@ export class BisqMasterPageComponent implements OnInit {
|
|||||||
isMobile = window.innerWidth <= 767.98;
|
isMobile = window.innerWidth <= 767.98;
|
||||||
urlLanguage: string;
|
urlLanguage: string;
|
||||||
networkPaths: { [network: string]: string };
|
networkPaths: { [network: string]: string };
|
||||||
footerVisible = false;
|
footerVisible = true;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private stateService: StateService,
|
private stateService: StateService,
|
||||||
@ -32,7 +32,9 @@ export class BisqMasterPageComponent implements OnInit {
|
|||||||
this.urlLanguage = this.languageService.getLanguageForUrl();
|
this.urlLanguage = this.languageService.getLanguageForUrl();
|
||||||
this.navigationService.subnetPaths.subscribe((paths) => {
|
this.navigationService.subnetPaths.subscribe((paths) => {
|
||||||
this.networkPaths = paths;
|
this.networkPaths = paths;
|
||||||
if( paths.bisq === "" ) {
|
if (paths.mainnet.indexOf('docs') > -1) {
|
||||||
|
this.footerVisible = false;
|
||||||
|
} else {
|
||||||
this.footerVisible = true;
|
this.footerVisible = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user