chore: complete Operations Console ticket
This commit is contained in:
@@ -46,7 +46,7 @@ func (p terminalPresentation) renderTargetListPane(state dashboardRenderState, w
|
||||
bodyHeight := max(1, height-2)
|
||||
lines := make([]string, 0, len(state.catalog.items))
|
||||
selectedIndex := state.catalog.index(state.selectedTargetID)
|
||||
for i, item := range state.catalog.items {
|
||||
for _, item := range state.catalog.items {
|
||||
cursor := " "
|
||||
if item.ID == state.selectedTargetID {
|
||||
cursor = "> "
|
||||
@@ -55,7 +55,6 @@ func (p terminalPresentation) renderTargetListPane(state dashboardRenderState, w
|
||||
(!state.profileTransition && state.progressTarget == "" && state.applying && item.ID == state.selectedTargetID)
|
||||
badge := p.targetBadge(item, applying)
|
||||
lines = append(lines, cursor+badge+" "+item.Description.Name)
|
||||
_ = i
|
||||
}
|
||||
if len(lines) == 0 {
|
||||
lines = append(lines, "No Targets are currently Available.")
|
||||
|
||||
Reference in New Issue
Block a user