You've already forked AstralRinth
forked from didirus/AstralRinth
fix: showing dependencies stage for modpack (#5176)
This commit is contained in:
@@ -10,7 +10,7 @@ export const stageConfig: StageConfigInput<ManageVersionContextValue> = {
|
|||||||
id: 'add-dependencies',
|
id: 'add-dependencies',
|
||||||
stageContent: markRaw(DependenciesStage),
|
stageContent: markRaw(DependenciesStage),
|
||||||
title: (ctx) => (ctx.editingVersion.value ? 'Edit dependencies' : 'Dependencies'),
|
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) =>
|
leftButtonConfig: (ctx) =>
|
||||||
ctx.editingVersion.value
|
ctx.editingVersion.value
|
||||||
? {
|
? {
|
||||||
|
|||||||
Reference in New Issue
Block a user