Skip to content

Commit ac8ab08

Browse files
fix review comments
1 parent 3f4788f commit ac8ab08

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

contentcuration/contentcuration/frontend/administration/pages/Users/UserPrivilegeModal.vue

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
get() {
104104
return this.value;
105105
},
106-
set(v) {
107-
this.$emit('input', v);
106+
set(value) { // CHANGED 'v' to 'value'
107+
this.$emit('input', value);
108108
},
109109
},
110110
},
@@ -119,12 +119,7 @@
119119
close() {
120120
if (typeof this.reset === 'function') {
121121
this.reset();
122-
} else {
123-
this.emailConfirm = '';
124-
if (this.errors) {
125-
Object.keys(this.errors).forEach(k => (this.errors[k] = false));
126-
}
127-
}
122+
}
128123
this.$emit('input', false);
129124
},
130125

0 commit comments

Comments
 (0)