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