Skip to content

Commit

Permalink
Fix validation rules (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
gormus authored Aug 10, 2024
1 parent dfcce17 commit 4f32477
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion about.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Discourse Filtered Topics Lists",
"theme_version": "1.0.0",
"theme_version": "1.0.1",
"authors": "Osman Gormus <[email protected]>",
"component": true,
"about_url": "https://github.com/gormus/discourse-filtered-topic-lists/blob/main/README.md",
Expand Down
11 changes: 7 additions & 4 deletions settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ presets:
required: false
length:
type: integer
min: 1
max: 20
required: true
validations:
min: 1
max: 20
query:
type: string
required: true
Expand Down Expand Up @@ -46,7 +47,9 @@ presets:
- "selected_tags"
selected_categories:
type: "categories"
min: 0
validations:
min: 0
selected_tags:
type: "tags"
min: 0
validations:
min: 0

0 comments on commit 4f32477

Please sign in to comment.