3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default class CertificationCenterForm extends Component {
57
57
if (habilitations .includes (habilitation)) {
58
58
habilitations .removeObject (habilitation);
59
59
} else {
60
- habilitations .addObject (habilitation);
60
+ habilitations .push (habilitation);
61
61
}
62
62
}
63
63
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default class InformationEdit extends Component {
45
45
if (habilitations .includes (habilitation)) {
46
46
habilitations .removeObject (habilitation);
47
47
} else {
48
- habilitations .addObject (habilitation);
48
+ habilitations .push (habilitation);
49
49
}
50
50
}
51
51
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ export default class CertificationInformationsController extends Controller {
169
169
competence [ propName ] = parseInt ( value ) ;
170
170
}
171
171
} else if ( value . trim ( ) . length > 0 ) {
172
- competences . addObject ( {
172
+ competences . push ( {
173
173
competence_code : competenceCode ,
174
174
[ propName ] : parseInt ( value ) ,
175
175
area_code : competenceCode . substr ( 0 , 1 ) ,
0 commit comments