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
+1 -2
View File
@@ -1,4 +1,3 @@
import Vue from 'vue';
import Parse from 'url-parse';
import { HCI } from '../types';
import { PRODUCT_NAME } from '../config/harvester';
@@ -42,7 +41,7 @@ const mutations = {
uploadEnd(state, value) {
const filtered = state.uploadingImages.filter(l => l !== value);
Vue.set(state, 'uploadingImages', filtered);
state['uploadingImages'] = filtered;
}
};