Fix navigate to sponsor when base module is not mempool
This commit is contained in:
parent
8d9a51a7c4
commit
154809f0f9
@ -41,7 +41,7 @@ export class AboutComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sponsor() {
|
sponsor() {
|
||||||
if (this.officialMempoolSpace) {
|
if (this.officialMempoolSpace && this.stateService.env.BASE_MODULE === 'mempool') {
|
||||||
this.router.navigateByUrl('/sponsor');
|
this.router.navigateByUrl('/sponsor');
|
||||||
} else {
|
} else {
|
||||||
this.showNavigateToSponsor = true;
|
this.showNavigateToSponsor = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user