mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-14 22:02:54 -06:00
allow currentVersion to be empty
This commit is contained in:
parent
6199ee413b
commit
681eb898b9
@ -81,6 +81,6 @@ function getSelectedVersion(item) {
|
|||||||
? pathVersion
|
? pathVersion
|
||||||
: item.currentVersion;
|
: item.currentVersion;
|
||||||
}
|
}
|
||||||
return item.currentVersion;
|
return item.currentVersion || item.versions[0].name;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user