mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Show nothing instead of null
If these values aren't set they would be shown as `null`. They should just be `` (empty string)
This commit is contained in:
parent
0bed5aa609
commit
8a506522d8
1 changed files with 2 additions and 2 deletions
|
@ -9,10 +9,10 @@ Template.user_edit.helpers({
|
|||
return getEmail(this);
|
||||
},
|
||||
getTwitter: function(){
|
||||
return getTwitterName(this);
|
||||
return getTwitterName(this) || "";
|
||||
},
|
||||
getGitHub: function(){
|
||||
return getGitHubName(this);
|
||||
return getGitHubName(this) || "";
|
||||
},
|
||||
profileUrl: function(){
|
||||
return Meteor.absoluteUrl()+"users/"+this.slug;
|
||||
|
|
Loading…
Add table
Reference in a new issue