V 1.1 Beta

This commit is contained in:
MakingCG
2020-03-11 10:36:10 +01:00
parent 3285a7e1c2
commit 2deca027cd
33 changed files with 837 additions and 1148 deletions

View File

@@ -100,6 +100,8 @@
},
watch: {
name: debounce(function (val) {
if (val === '') return
this.$store.commit('UPDATE_NAME', val)
}, 300),
},
@@ -119,19 +121,11 @@
if (!isValid) return;
// Start loading
//this.isLoading = true
// Send request to get user reset link
axios
.post(this.$store.getters.api + '/user/password', {
password: this.newPassword,
password_confirmation: this.newPasswordConfirmation,
},
{
headers: {
'Authorization': 'Bearer ' + this.$store.getters.token
}
})
.then(() => {
@@ -147,9 +141,6 @@
title: 'Your password was changed!',
message: 'So now, you have awesome new password.',
})
// End loading
//this.isLoading = false
})
.catch(error => {
@@ -162,9 +153,6 @@
});
}
}
// End loading
//this.isLoading = false
})
}
},
@@ -178,7 +166,6 @@
<style lang="scss">
@import "@assets/app.scss";
.avatar-upload {
display: flex;
align-items: center;