Skip to content

Commit 52aa09a

Browse files
committed
fix(ui): prevent duplicate custom skills from rendering
1 parent 3d95ca9 commit 52aa09a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internal/ui/model/skills.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ func (m *UI) skillStatusItems() []skillStatusItem {
7979
if disabledSet[name] {
8080
continue
8181
}
82+
if _, exists := stateNames[name]; exists {
83+
continue
84+
}
8285
stateNames[name] = struct{}{}
8386
icon := t.Resource.OnlineIcon.String()
8487
if state.State == skills.StateError {

0 commit comments

Comments
 (0)