Order fixed.

Rekord after reset
This commit is contained in:
PitiTheGrey
2020-05-03 22:14:33 +02:00
committed by GitHub
parent 3374ed29db
commit 33331554d3
@@ -37,9 +37,9 @@ export default {
this.$root.$emit('bv::hide::modal', 'reset');
},
async reset () {
await axios.post('/api/v4/user/reset');
this.$router.push('/');
setTimeout(() => window.location.reload(true));
await axios.post('/api/v4/user/reset');
},
},
};