mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 05:37:05 +02:00
Allow default value for boolean select
Default for both service delete conformation and disabling Maloja autofix is now "no".
This commit is contained in:
parent
6c1cf2101d
commit
76fd7cfeb4
3 changed files with 17 additions and 8 deletions
|
@ -44,9 +44,10 @@ func (b *MalojaApiBackend) Options() []models.BackendOption {
|
|||
Label: i18n.Tr("Access token"),
|
||||
Type: models.Secret,
|
||||
}, {
|
||||
Name: "nofix",
|
||||
Label: i18n.Tr("Disable auto correction of submitted listens"),
|
||||
Type: models.Bool,
|
||||
Name: "nofix",
|
||||
Label: i18n.Tr("Disable auto correction of submitted listens"),
|
||||
Type: models.Bool,
|
||||
Default: "false",
|
||||
}}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue