Fix: Allow starting pending and failed services in ServicePickerModal
This commit is contained in:
parent
da9313684c
commit
20052f5c0d
1 changed files with 4 additions and 2 deletions
|
|
@ -262,8 +262,10 @@ export class ServicePickerModal {
|
|||
|
||||
const service = this.filteredServices[selectedIndex]
|
||||
|
||||
// Only allow starting 'available' services
|
||||
if (service.status !== 'available') {
|
||||
// Allow starting: pending (not started), available (marked as available), failed (retry)
|
||||
// Disallow: starting, running, healthy (already running), skipped
|
||||
const canStart = service.status === 'pending' || service.status === 'available' || service.status === 'failed'
|
||||
if (!canStart) {
|
||||
this.updateStatusBar(`Service ${service.id} is ${service.status}, cannot start`)
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue