diff --git a/web/public/js/components/common/checkbox.js b/web/public/js/components/common/checkbox.js index 4892dba9..84a62c59 100644 --- a/web/public/js/components/common/checkbox.js +++ b/web/public/js/components/common/checkbox.js @@ -35,7 +35,7 @@ Vue.component("checkbox", { this.newValue = "" }, isChecked: function () { - return this.newValue == this.elementValue + return (typeof (this.newValue) == "boolean" && this.newValue) || this.newValue == this.elementValue } }, watch: {