fix: various fixes for versions (#5238)
* fix: environment not showing when has mod loaders * fix: weird snapshot format by only grouping consecutive tags with 3 or more * fix: 26.1 snapshots not grouped properly in mc version picker * remove debug console.log
This commit is contained in:
@@ -155,7 +155,7 @@ function groupVersions(gameVersions: GameVersion[]) {
|
||||
|
||||
const groups: Record<string, string[]> = {}
|
||||
|
||||
let currentGroupKey = getSnapshotGroupKey(gameVersions.find((v) => v.major)?.version || '')
|
||||
let currentGroupKey
|
||||
|
||||
gameVersions.forEach((gameVersion) => {
|
||||
if (gameVersion.version_type === 'release') {
|
||||
|
||||
Reference in New Issue
Block a user