If mining dashboard is enabled, opens /mining/blocks instead of /blocks

This commit is contained in:
nymkappa 2022-03-17 17:50:19 +01:00
parent bdfe31c601
commit 7481e27ec2
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -128,7 +128,7 @@
</tr>
</tbody>
</table>
<div class=""><a href="" [routerLink]="['/blocks' | relativeUrl]" i18n="dashboard.view-all">View all &raquo;</a></div>
<div class=""><a href="" [routerLink]="[(stateService.env.MINING_DASHBOARD ? '/mining/blocks' : '/blocks') | relativeUrl]" i18n="dashboard.view-all">View all &raquo;</a></div>
</div>
</div>
</div>