Improved shown not linked email addresses.
This commit is contained in:
parent
92fdbe8878
commit
8c65d7c54a
2 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ class App.ChannelEmailAccountOverview extends App.Controller
|
|||
email_addresses_all = App.EmailAddress.all()
|
||||
email_addresses_not_used = []
|
||||
for email_address in email_addresses_all
|
||||
if !email_address.channel_id || !App.Channel.exists(email_address.channel_id)
|
||||
if !email_address.channel_id || email_address.channel_id is ''
|
||||
email_addresses_not_used.push email_address
|
||||
|
||||
# get channels
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<h2><%- @T('Fixed email addresses') %></h2>
|
||||
<ul>
|
||||
<% for email_address in @accounts_fixed: %>
|
||||
<li><%= email_address.realname %><<%= email_address.email %>>
|
||||
<li><%= email_address.realname %> <<%= email_address.email %>>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue