소스 검색

fix(models): ensure that we show unknown providers on the list

Andrey Nering 1 개월 전
부모
커밋
e38ffc3804
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      internal/ui/dialog/models.go

+ 3 - 0
internal/ui/dialog/models.go

@@ -347,6 +347,9 @@ func (m *Models) setProviderItems() error {
 					selectedItemID = item.ID()
 				}
 			}
+			if len(group.Items) > 0 {
+				groups = append(groups, group)
+			}
 		}
 	}