mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 06:49:35 +00:00
[review, add time modal]
This commit is contained in:
1 parent
90cd75349c
commit
17a044b118
19 files changed
+228
-158
No files matched your search
@@ -84,15 +84,6 @@ export default {
|
||||
...mapGetters('auth', ['user']),
|
||||
},
|
||||
|
||||
created() {
|
||||
// TEMP
|
||||
// Kravarik: Vyhodit
|
||||
this.$store.dispatch('auth/login', {
|
||||
email: 'xx@asdasd.asd',
|
||||
password: 'sdfsdfsdf'
|
||||
})
|
||||
},
|
||||
|
||||
validations() {
|
||||
return {
|
||||
user: {
|
||||
@@ -112,8 +103,7 @@ export default {
|
||||
|
||||
this.$toast.success('Profil bol úspešne zmenený')
|
||||
} catch (error) {
|
||||
// Kravarik: Posli iba errror
|
||||
this.$toast.error(error.response.data.error)
|
||||
this.$toast.error(error)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user