Fix navigate to sponsor when base module is not mempool

This commit is contained in:
softsimon 2021-08-15 20:05:49 +03:00
parent 5301acc4e7
commit 75f979ea71

View File

@ -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;