fixed intermediate on non triple-state checkbox
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
7e6cb91c89
commit
87fff4e338
|
@ -38,9 +38,10 @@ export default class Controller extends Component {
|
|||
}
|
||||
|
||||
get isIntermediate() {
|
||||
return this.intermediate
|
||||
|| this.model === null
|
||||
|| this.model === undefined;
|
||||
if (this.intermediate || (this.tripleState && (this.model === null || this.model === undefined)))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
get isChecked() {
|
||||
|
|
Loading…
Reference in New Issue