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 8d9a51a7c4
commit 154809f0f9

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;