mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
notification click always shows the modal, setting only controls the notification timeout (#10913)
This commit is contained in:
@@ -569,10 +569,8 @@ export default {
|
|||||||
break;
|
break;
|
||||||
case 'STREAK_ACHIEVEMENT':
|
case 'STREAK_ACHIEVEMENT':
|
||||||
this.text(`${this.$t('streaks')}: ${this.user.achievements.streak}`, () => {
|
this.text(`${this.$t('streaks')}: ${this.user.achievements.streak}`, () => {
|
||||||
if (!this.user.preferences.suppressModals.streak) {
|
|
||||||
this.$root.$emit('bv::show::modal', 'streak');
|
this.$root.$emit('bv::show::modal', 'streak');
|
||||||
}
|
}, this.user.preferences.suppressModals.streak);
|
||||||
});
|
|
||||||
this.playSound('Achievement_Unlocked');
|
this.playSound('Achievement_Unlocked');
|
||||||
break;
|
break;
|
||||||
case 'ULTIMATE_GEAR_ACHIEVEMENT':
|
case 'ULTIMATE_GEAR_ACHIEVEMENT':
|
||||||
|
|||||||
Reference in New Issue
Block a user