Keys to kennel issue (#13978)

* Fix selection highlight in avatar editor

* Fix error message on using Keys to the Kennel
This commit is contained in:
Vanathi G 2022-05-20 02:07:15 +05:30 committed by GitHub
parent 5d78fce468
commit 9ba0bd7c06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,9 +89,6 @@ export default {
try {
this.$store.dispatch('shops:releasePets', { user: this.user });
this.text(this.$t('releasePetsSuccess'));
// this.$router.push({name: 'stable'});
// Reload because achievement is set in user.save instead of common
window.location.reload(true);
} catch (err) {
window.alert(err.message); // eslint-disable-line no-alert
}
@ -112,9 +109,6 @@ export default {
try {
this.$store.dispatch('shops:releaseMounts', { user: this.user });
this.text(this.$t('releaseMountsSuccess'));
// this.$router.push({name: 'stable'});
// Reload because achievement is set in user.save instead of common
window.location.reload(true);
} catch (err) {
window.alert(err.message); // eslint-disable-line no-alert
}
@ -135,9 +129,6 @@ export default {
try {
this.$store.dispatch('shops:releaseBoth', { user: this.user });
this.text(this.$t('releaseBothSuccess'));
// this.$router.push({name: 'stable'});
// Reload because achievement is set in user.save instead of common
window.location.reload(true);
} catch (err) {
window.alert(err.message); // eslint-disable-line no-alert
}