fix setting boolean-style query string parsing close #106

This commit is contained in:
Matt Walsh
2025-06-06 16:40:08 -05:00
parent faaf6f770f
commit 9a55a6ec39
2 changed files with 8 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ class Setting {
if (this.type === 'checkbox' && urlValue !== undefined) {
urlState = urlValue === 'true';
}
if (this.type === 'boolean' && urlValue !== undefined) {
urlState = urlValue === 'true';
}
if (this.type === 'select' && urlValue !== undefined) {
urlState = parseFloat(urlValue);
}