From 686d03f739cf5d98a58de0227eb94c2186a35f0e Mon Sep 17 00:00:00 2001 From: tdgao Date: Tue, 13 Oct 2026 11:15:42 -0600 Subject: [PATCH] fix: shader gallery nag incorrectly uses resource pack copy --- packages/moderation/src/data/nags/gallery.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/moderation/src/data/nags/gallery.ts b/packages/moderation/src/data/nags/gallery.ts index f6e4497f0de..a7e68c097a0 100644 --- a/packages/moderation/src/data/nags/gallery.ts +++ b/packages/moderation/src/data/nags/gallery.ts @@ -38,9 +38,10 @@ export const galleryNags = { }, 'upload-gallery-image': { title: messages.uploadTitle, - description: ({ projectType }) => { - if (projectType === 'resourcepack') return messages.uploadResourcePack - if (projectType === 'shader') return messages.uploadShader + description: ({ nag, projectType }) => { + const galleryProjectType = nag.details?.project_type ?? projectType + if (galleryProjectType === 'resourcepack') return messages.uploadResourcePack + if (galleryProjectType === 'shader') return messages.uploadShader return messages.upload }, destination: 'gallery',