Revert "Restrict website to 3.0 models until 3.1 release"

This reverts commit a13f29bb54.
This commit is contained in:
Adriane Boyd 2021-07-07 15:31:40 +02:00
parent 065e94a6eb
commit c2fa62e690

View File

@ -96,7 +96,7 @@ function isStableVersion(v) {
function getLatestVersion(modelId, compatibility, prereleases) {
for (let [version, models] of Object.entries(compatibility)) {
if (version.startsWith('3.0') && isStableVersion(version) && models[modelId]) {
if (isStableVersion(version) && models[modelId]) {
const modelVersions = models[modelId]
for (let modelVersion of modelVersions) {
if (isStableVersion(modelVersion) || prereleases) {