- + +
@@ -126,4 +130,13 @@ export class MainLayoutComponent implements AfterViewInit { // TODO: Could pass profileId via query params or state this.router.navigate(['/', 'profiles']); } + + navigateToConsole(minerName: string) { + this.router.navigate(['/', 'console']); + } + + navigateToStats(minerName: string) { + // Navigate to dashboard to see stats/hashrate for selected miner + this.router.navigate(['/', 'dashboard']); + } }