Change streak achievement snack to text type (#10534)

This commit is contained in:
Keith Holliday
2018-07-21 08:11:09 -05:00
committed by GitHub
parent 62c60ce520
commit 91e91788ce

View File

@@ -465,7 +465,7 @@ export default {
this.$root.$emit('bv::show::modal', 'won-challenge');
break;
case 'STREAK_ACHIEVEMENT':
this.streak(this.user.achievements.streak);
this.text(this.user.achievements.streak);
this.playSound('Achievement_Unlocked');
if (!this.user.preferences.suppressModals.streak) {
this.$root.$emit('bv::show::modal', 'streak');