Only show linked accounts if exists.
This commit is contained in:
parent
d91c5a9304
commit
6efab37bfc
2 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if @user['accounts']: %>
|
||||
<% if !_.isEmpty(@user['accounts']): %>
|
||||
<div class="row">
|
||||
<div class="customer-info">
|
||||
<strong>Linked Accounts</strong><br/>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if @user['links']: %>
|
||||
<% if !_.isEmpty(@user['links']): %>
|
||||
<% for link in @user['links']: %>
|
||||
<div class="row">
|
||||
<div class="customer-info">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if @user['accounts']: %>
|
||||
<% if !_.isEmpty(@user['accounts']): %>
|
||||
<div class="row">
|
||||
<div class="customer-info">
|
||||
<strong>Linked Accounts</strong><br/>
|
||||
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if @user['links']: %>
|
||||
<% if !_.isEmpty(@user['links']): %>
|
||||
<% for link in @user['links']: %>
|
||||
<div class="row">
|
||||
<div class="customer-info">
|
||||
|
|
Loading…
Reference in a new issue