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
No known key found for this signature in database
GPG key ID: 488D7DCFB5A430D7

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;