mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 12:48:28 +08:00
fix(tags): incorrect max and min primary tags used
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
b66fe5dd5f
commit
abc9670659
|
@ -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'),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user