Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: filter downloaded model
Faisal Amiraec7d3e220d1
diff --git a/web-app/src/containers/DownloadButton.tsx b/web-app/src/containers/DownloadButton.tsxindex 9e1912f69..37601ba42 100644--- a/web-app/src/containers/DownloadButton.tsx+++ b/web-app/src/containers/DownloadButton.tsx@@ -65,10 +65,8 @@ export function DownloadButtonPlaceholder({m.id === modelId ||m.id === `${model.developer}/${sanitizeModelId(modelId)}`)- if (isDownloaded) {- setDownloaded(true)- }- }, [llamaProvider])+ setDownloaded(!!isDownloaded)+ }, [llamaProvider, modelId, model.developer])useEffect(() => {events.on(