Do not fail on duplicates in identities

Duplicates are bad, but when tracked by $index, the mailer editor does at least not block the "from" selection field completly. :-)
This commit is contained in:
André Peters
2018-01-22 08:57:54 +01:00
committed by GitHub
parent d80f2462f0
commit 0e673beb22
+1 -1
View File
@@ -32,7 +32,7 @@
<label><var:string label:value="From"/></label>
<md-select name="from"
ng-model="editor.message.editable.from">
<md-option ng-value="identity" ng-repeat="identity in editor.identities">{{identity}}</md-option>
<md-option ng-value="identity" ng-repeat="identity in editor.identities track by $index">{{identity}}</md-option>
</md-select>
</md-input-container>
<div flex="flex"><!-- spacer --></div>