fix modpacks no loader

This commit is contained in:
tdgao
2026-03-29 23:33:09 -06:00
parent 0ee58867e8
commit cad4cb83b4
3 changed files with 10 additions and 6 deletions
@@ -714,8 +714,8 @@ const modpackLoaders = computed<string[]>(() => {
const noModpackLoader = computed(
() =>
project.value.project_type === 'modpack' &&
modpackLoaders.value.length === 1 &&
modpackLoaders.value[0] === 'minecraft',
((modpackLoaders.value.length === 1 && modpackLoaders.value[0] === 'minecraft') ||
modpackLoaders.value.length === 0),
)
const description = computed(