From aefe3282542435972a2468d374c013244a024153 Mon Sep 17 00:00:00 2001 From: Snider Date: Thu, 11 Dec 2025 15:01:43 +0000 Subject: [PATCH] feat: Add start miner button to profile list for improved user interaction --- ui/src/app/profile-list.component.html | 1 + ui/src/app/profile-list.component.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ui/src/app/profile-list.component.html b/ui/src/app/profile-list.component.html index 12a29ce..aab2f74 100644 --- a/ui/src/app/profile-list.component.html +++ b/ui/src/app/profile-list.component.html @@ -49,6 +49,7 @@ } @else { {{ profile.name }} ({{ profile.minerType }})
+ Start Edit Delete
diff --git a/ui/src/app/profile-list.component.ts b/ui/src/app/profile-list.component.ts index da7e5ef..0274973 100644 --- a/ui/src/app/profile-list.component.ts +++ b/ui/src/app/profile-list.component.ts @@ -54,6 +54,10 @@ export class ProfileListComponent { } } + startMiner(profileId: string) { + this.minerService.startMiner(profileId).subscribe(); + } + deleteProfile(profileId: string) { this.minerService.deleteProfile(profileId).subscribe(); }