mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 07:52:15 +00:00
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:
parent
5d78fce468
commit
9ba0bd7c06
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue