Skip to content

Commit 7595e77

Browse files
authored
fix: showing dependencies stage for modpack (#5176)
1 parent 08fcc61 commit 7595e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/frontend/src/providers/version/stages/dependencies-stage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const stageConfig: StageConfigInput<ManageVersionContextValue> = {
1010
id: 'add-dependencies',
1111
stageContent: markRaw(DependenciesStage),
1212
title: (ctx) => (ctx.editingVersion.value ? 'Edit dependencies' : 'Dependencies'),
13-
skip: (ctx) => ctx.suggestedDependencies.value != null,
13+
skip: (ctx) => ctx.suggestedDependencies.value != null || ctx.projectType.value === 'modpack',
1414
leftButtonConfig: (ctx) =>
1515
ctx.editingVersion.value
1616
? {

0 commit comments

Comments
 (0)