Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
edit(i) {
Vue.set(this.editing, this.next[i].widget._id, !this.editing[this.next[i].widget._id]);
},
insert($event) {
up(i) {
const previous = this.next[i - 1];
Vue.set(this.next, i - 1, this.next[i]);
Vue.set(this.next, i, previous);
},
down(i) {
down(i) {
const temp = this.next[i + 1];
Vue.set(this.next, i + 1, this.next[i]);
Vue.set(this.next, i, temp);
},
remove(i) {
up(i) {
const previous = this.next[i - 1];
Vue.set(this.next, i - 1, this.next[i]);
Vue.set(this.next, i, previous);
},
down(i) {
down(i) {
const temp = this.next[i + 1];
Vue.set(this.next, i + 1, this.next[i]);
Vue.set(this.next, i, temp);
},
remove(i) {