fix: remove slugEmail
This commit is contained in:
@@ -68,13 +68,6 @@ export default class UserNew extends Vue {
|
||||
}
|
||||
return !!this.user && this.user.userId === this.newUser.userId
|
||||
}
|
||||
|
||||
@Watch('user.email', { immediate: true })
|
||||
public onEmailChange(email: string) {
|
||||
if (this.newUser) {
|
||||
this.newUser.slugEmail = slug(email || '')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user