You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Related to #19, fix the alias creation page
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user