mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Added context message to streak (#10565)
* Added context message to streak * Updated text
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.text(this.user.achievements.streak);
|
this.text(`${this.$t('streaks')}: ${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