Skip to content

Commit 9cf6bd4

Browse files
authored
fix: adjust tags limit in showcase modal (#68)
1 parent c0094e3 commit 9cf6bd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/features/showcase/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ export const buildShowcaseModal = ({
9191
),
9292
new LabelBuilder()
9393
.setLabel('Tags')
94-
.setDescription('Select the tags that best describe your project')
94+
.setDescription('Select up to 5 tags that best describe your project')
9595
.setStringSelectMenuComponent(
9696
new StringSelectMenuBuilder()
9797
.setCustomId('projectTags')
9898
.setMinValues(1)
99-
.setMaxValues(tags.length > 0 ? tags.length : 1)
99+
.setMaxValues(5)
100100
.setRequired(true)
101101
.addOptions(
102102
tags.map((tag) => {

0 commit comments

Comments
 (0)