mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 12:48:52 +00:00
eliminate blank notifications
This commit is contained in:
parent
254ac3d510
commit
32cd7ca7cf
1 changed files with 3 additions and 1 deletions
|
|
@ -58,7 +58,9 @@ angular.module("notificationServices", [])
|
|||
notify(sign(val) + " " + coins(val - bonus), 'gp');
|
||||
},
|
||||
text: function(val){
|
||||
notify(val, 'info');
|
||||
if (val) {
|
||||
notify(val, 'info');
|
||||
}
|
||||
},
|
||||
lvl: function(){
|
||||
notify(window.env.t('levelUp'), 'lvl', 'glyphicon glyphicon-chevron-up');
|
||||
|
|
|
|||
Loading…
Reference in a new issue