fix: showing dependencies stage for modpack (#5176)

This commit is contained in:
Truman Gao
2026-01-21 02:08:54 -07:00
committed by GitHub
parent 08fcc61d35
commit 7595e77170

View File

@@ -10,7 +10,7 @@ export const stageConfig: StageConfigInput<ManageVersionContextValue> = {
id: 'add-dependencies',
stageContent: markRaw(DependenciesStage),
title: (ctx) => (ctx.editingVersion.value ? 'Edit dependencies' : 'Dependencies'),
skip: (ctx) => ctx.suggestedDependencies.value != null,
skip: (ctx) => ctx.suggestedDependencies.value != null || ctx.projectType.value === 'modpack',
leftButtonConfig: (ctx) =>
ctx.editingVersion.value
? {