diff --git a/app/assets/javascripts/app/views/user_info.jst.eco b/app/assets/javascripts/app/views/user_info.jst.eco index 1f745adaa..d42f3857e 100644 --- a/app/assets/javascripts/app/views/user_info.jst.eco +++ b/app/assets/javascripts/app/views/user_info.jst.eco @@ -20,7 +20,7 @@ <% end %> <% end %> -<% if @user['accounts']: %> +<% if !_.isEmpty(@user['accounts']): %>
Linked Accounts
@@ -30,7 +30,7 @@
<% end %> -<% if @user['links']: %> +<% if !_.isEmpty(@user['links']): %> <% for link in @user['links']: %>
diff --git a/app/assets/javascripts/app/views/user_info_small.jst.eco b/app/assets/javascripts/app/views/user_info_small.jst.eco index 9826f9a71..ca8a32dc0 100644 --- a/app/assets/javascripts/app/views/user_info_small.jst.eco +++ b/app/assets/javascripts/app/views/user_info_small.jst.eco @@ -5,7 +5,7 @@
<% end %> <% end %> -<% if @user['accounts']: %> +<% if !_.isEmpty(@user['accounts']): %>
Linked Accounts
@@ -15,7 +15,7 @@
<% end %> -<% if @user['links']: %> +<% if !_.isEmpty(@user['links']): %> <% for link in @user['links']: %>