Skip to content

Commit

Permalink
fix(tags): incorrect max and min primary tags used
Browse files Browse the repository at this point in the history
Signed-off-by: Sami Mazouz <[email protected]>
  • Loading branch information
SychO9 committed Mar 11, 2023
1 parent b66fe5d commit abc9670
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export default class TagDiscussionModal extends TagSelectionModal<TagDiscussionM
attrs.limits = {
allowBypassing: attrs.allowResetting,
max: {
primary: app.forum.attribute<number>('minPrimaryTags'),
primary: app.forum.attribute<number>('maxPrimaryTags'),
secondary: app.forum.attribute<number>('maxSecondaryTags'),
},
min: {
primary: app.forum.attribute<number>('maxPrimaryTags'),
primary: app.forum.attribute<number>('minPrimaryTags'),
secondary: app.forum.attribute<number>('minSecondaryTags'),
},
};
Expand Down

0 comments on commit abc9670

Please sign in to comment.