This commit is contained in:
Falkvinge
2017-10-27 11:53:26 +02:00
parent 2938f2e9f1
commit 9235119049
@@ -81,6 +81,11 @@ namespace Swarmops.Frontend.Pages.v5.Admin
foreach (string localizedPersonLabel in localizedPersonLabels)
{
string[] parts = localizedPersonLabel.Split ('|');
if (parts[1] == "Unknown")
{
continue; // skip the empty option
}
this.DropApplicantLabel.Items.Add(new ListItem(parts[0], parts[1]));
this.DropPersonLabel.Items.Add(new ListItem(parts[0], parts[1]));
this.DropActivistLabel.Items.Add (new ListItem (parts[0], parts[1]));