Skip to content

Commit

Permalink
filter out versions with zero public models
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Jan 12, 2024
1 parent e61a435 commit 946559f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ export const UpgradeVersionsPage: FC<{

const upgradeableModelsByVersion = modelsByVersion.filter(
(entry) =>
entry.version !== "dev" && entry.version !== defaultSquiggleVersion
entry.version !== "dev" &&
entry.version !== defaultSquiggleVersion &&
entry.count > 0
);

const [selectedVersion, setSelectedVersion] = useState(
Expand Down

1 comment on commit 946559f

@vercel
Copy link

@vercel vercel bot commented on 946559f Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.