Related to #19, fix the alias creation page

master
Pierre Jaury 8 years ago
parent dcaf3e3473
commit 5581f1b0d9

@ -21,7 +21,7 @@ class DestinationField(fields.SelectMultipleField):
for email in managed:
selected = self.data is not None and self.coerce(email) in self.data
yield (email, email, selected)
for email in self.data:
for email in self.data or ():
if email not in managed:
yield (email, email, True)

Loading…
Cancel
Save