Vue migration - remove Vuew.set & this.$set; add vue-migrate script

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:00:48 +02:00
parent c983ed8384
commit ea12a81174
85 changed files with 938 additions and 256 deletions
@@ -73,7 +73,7 @@ export default {
selectedUser(val, old) {
if ( val.includes(_NEW)) {
this.$set(this, 'selectedUser', old);
this['selectedUser'] = old;
this.update();
this.show();
}
@@ -49,7 +49,7 @@ export default {
},
updateUser(neu) {
this.$set(this.value, 'username', neu);
this.value['username'] = neu;
this.update();
},
@@ -40,12 +40,12 @@ export default {
},
updateUser(neu) {
this.$set(this.value, 'users', neu);
this.value['users'] = neu;
this.update();
},
updateSSH(neu) {
this.$set(this.value, 'sshkeys', neu);
this.value['sshkeys'] = neu;
this.update();
},