mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Change streak achievement snack to text type (#10534)
This commit is contained in:
@@ -465,7 +465,7 @@ export default {
|
|||||||
this.$root.$emit('bv::show::modal', 'won-challenge');
|
this.$root.$emit('bv::show::modal', 'won-challenge');
|
||||||
break;
|
break;
|
||||||
case 'STREAK_ACHIEVEMENT':
|
case 'STREAK_ACHIEVEMENT':
|
||||||
this.streak(this.user.achievements.streak);
|
this.text(this.user.achievements.streak);
|
||||||
this.playSound('Achievement_Unlocked');
|
this.playSound('Achievement_Unlocked');
|
||||||
if (!this.user.preferences.suppressModals.streak) {
|
if (!this.user.preferences.suppressModals.streak) {
|
||||||
this.$root.$emit('bv::show::modal', 'streak');
|
this.$root.$emit('bv::show::modal', 'streak');
|
||||||
|
|||||||
Reference in New Issue
Block a user