fix fields login

This commit is contained in:
Paolo Arena
2019-03-13 13:40:17 +01:00
parent 67748ce94f
commit 9376b397d7
21 changed files with 207 additions and 203 deletions

View File

@@ -69,6 +69,7 @@
import { required } from "vuelidate/lib/validators"
import { UserStore } from "../../store/Modules";
import { IUserState } from "../../model";
import { tools } from "../../store/Modules/tools";
export default class UpdatePassword extends Vue {
emailsent = false
@@ -96,15 +97,11 @@
// }
// },
showNotif(msg: any) {
this.$q.notify(msg)
}
submit() {
this.$v.form.$touch()
if (this.$v.form.$error) {
this.showNotif(this.$t('reg.err.errore_generico'))
tools.showNotif(this.$q, this.$t('reg.err.errore_generico'))
return
}