Allow default value for boolean select

Default for both service delete conformation and disabling Maloja
autofix is now "no".
This commit is contained in:
Philipp Wolfer 2023-12-09 22:15:40 +01:00
parent 6c1cf2101d
commit 76fd7cfeb4
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
3 changed files with 17 additions and 8 deletions

View file

@ -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",
}}
}