mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 12:48:52 +00:00
Merge pull request #3339 from thepeopleseason/blank-notifications
fix(notifications): eliminate blank notifications
This commit is contained in:
commit
20b2fb9fd2
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