fix: Development build shown in release version

This commit is contained in:
Pax1601 2025-08-05 11:05:29 +02:00
parent e4af9b06d3
commit 4fd9b7e6c2

View File

@ -109,7 +109,7 @@ export function Header() {
.then((res) => {
setLatestVersion(res["version"]);
if (VERSION === "{{OLYMPUS_VERSION_NUMBER}}") {
if (VERSION.includes("{OLYMPUS_VERSION_NUMBER}")) {
console.log("OLYMPUS_VERSION_NUMBER is not set. Skipping version check.");
setIsDevVersion(true);
} else {