Fixed streak bonus style (#9608)

This commit is contained in:
Keith Holliday
2017-11-30 12:37:53 -06:00
committed by GitHub
parent 4e73c8513e
commit d9e09a5f3d
3 changed files with 9 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ export default {
// Append Bonus
if (money > 0 && Boolean(bonus)) {
if (bonus < 0.01) bonus = 0.01;
this.text(`+ ${this.coins(bonus)} ${this.$t('streakCoins')}`);
this.streak(`+ ${this.coins(bonus)}`);
delete this.user._tmp.streakBonus;
}
},