fix: remove slugEmail

This commit is contained in:
Julien Calixte
2019-08-26 23:45:08 +02:00
parent d7e6d3044e
commit e9b3504c40
2 changed files with 1 additions and 7 deletions

View File

@@ -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>