Improved shown not linked email addresses.

This commit is contained in:
Martin Edenhofer 2015-08-30 02:14:51 +02:00
parent 92fdbe8878
commit 8c65d7c54a
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -4,7 +4,7 @@
<h2><%- @T('Fixed email addresses') %></h2>
<ul>
<% for email_address in @accounts_fixed: %>
<li><%= email_address.realname %>&lt;<%= email_address.email %>&gt;
<li><%= email_address.realname %> &lt;<%= email_address.email %>&gt;
<% end %>
</ul>
<% end %>