mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-07 19:35:32 +00:00
Remove experience notification when leveling up (#10285)
This commit is contained in:
parent
63598f497b
commit
403ac1ab7e
1 changed files with 4 additions and 2 deletions
|
|
@ -22,8 +22,10 @@ export default {
|
|||
this.notify(this.$t(type, { val }), 'success');
|
||||
},
|
||||
exp (val) {
|
||||
let message = getXPMessage(val);
|
||||
this.notify(message, 'xp', 'glyphicon glyphicon-star', this.sign(val));
|
||||
const message = getXPMessage(val);
|
||||
if (message) {
|
||||
this.notify(message, 'xp', 'glyphicon glyphicon-star', this.sign(val));
|
||||
}
|
||||
},
|
||||
error (error) {
|
||||
this.notify(error, 'error', 'glyphicon glyphicon-exclamation-sign');
|
||||
|
|
|
|||
Loading…
Reference in a new issue