in submit-rules/gr-simple-submit-rules-label-config.js [118:132]
_observeCopyScoreRulesChange() {
if (this._updatingCopyScoreRules) {
return;
}
this._updatingCopyScoreRules = true;
for (const key of COPY_SCORES) {
this.set(['_copyScoreRules', key], false);
}
for (const value of this._labelConfig.copy_score_rules) {
this.set(['_copyScoreRules', value], true);
}
this._updatingCopyScoreRules = false;
}