Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
Update web-app/src/containers/DropdownModelProvider.tsx
Faisal Amirfea516f98f44
diff --git a/web-app/src/containers/DropdownModelProvider.tsx b/web-app/src/containers/DropdownModelProvider.tsxindex 9deac9711..2fadb4f6b 100644--- a/web-app/src/containers/DropdownModelProvider.tsx+++ b/web-app/src/containers/DropdownModelProvider.tsx@@ -241,9 +241,7 @@ const DropdownModelProvider = ({// When not searching, exclude favorite models from regular provider sectionsconst isFavorite = favoriteModels.some((fav) => fav.id === item.model.id)- if (!searchValue && isFavorite) {- return // Skip adding this item to regular provider section- }+ if (!searchValue && isFavorite) return // Skip adding this item to regular provider sectiongroups[providerKey].push(item)})