Skip to content

Commit

Permalink
Merge pull request kaytu-io#261 from kaytu-io/feat-adds-summary-table
Browse files Browse the repository at this point in the history
fix: Adds float for number validator
  • Loading branch information
salehkhazaei committed Jun 26, 2024
2 parents 2235dc4 + 5e6440d commit 2f5450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/page_preferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func pinnedValidator(s string) error {
}

func numberValidator(s string) error {
n, err := strconv.ParseInt(s, 10, 64)
n, err := strconv.ParseFloat(s, 64)
if err != nil {
return err
}
Expand Down

0 comments on commit 2f5450c

Please sign in to comment.