fix: upload a version nag (#6338)

Update core.ts

Use projectV3.versions instead of NagContext.versions to prevent the warning showing up when versions have not been loaded yet.
This commit is contained in:
coolbot
2026-06-08 15:06:47 -07:00
committed by GitHub
parent 2c9bf58d1f
commit 1cedbe5fda
+1 -1
View File
@@ -38,7 +38,7 @@ export const coreNags: Nag[] = [
}),
status: 'required',
shouldShow: (context: NagContext) =>
context.versions.length < 1 && !context.projectV3?.minecraft_server,
context.projectV3?.versions?.length < 1 && !context.projectV3?.minecraft_server,
link: {
path: 'settings/versions',
title: defineMessage({