From a13f29bb540ef832f56c364a71ddbd87c7a1c796 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Wed, 23 Jun 2021 10:53:29 +0200 Subject: [PATCH] Restrict website to 3.0 models until 3.1 release --- website/src/templates/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/templates/models.js b/website/src/templates/models.js index 9ff7d497c..e8918432c 100644 --- a/website/src/templates/models.js +++ b/website/src/templates/models.js @@ -96,7 +96,7 @@ function isStableVersion(v) { function getLatestVersion(modelId, compatibility, prereleases) { for (let [version, models] of Object.entries(compatibility)) { - if (isStableVersion(version) && models[modelId]) { + if (version.startsWith('3.0') && isStableVersion(version) && models[modelId]) { const modelVersions = models[modelId] for (let modelVersion of modelVersions) { if (isStableVersion(modelVersion) || prereleases) {