Only show gallery relevancy button when relevant.

This commit is contained in:
coolbot100s 2025-07-25 00:40:06 -07:00
parent da41659666
commit 61d535707d

View File

@ -25,6 +25,7 @@ const gallery: Stage = {
weight: 901,
suggestedStatus: 'flagged',
severity: 'low',
shouldShow: (project) => project.gallery && project.gallery.length > 0,
message: async () => (await import('../messages/gallery/not-relevant.md?raw')).default,
} as ButtonAction,
],