Fix for nullref

This commit is contained in:
Falkvinge
2017-10-30 12:25:08 +01:00
parent ca538a1fb6
commit 7dfcfd559b
@@ -80,6 +80,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
AddDocuments(report);
}
initialReport = reports.Last();
this.InitialReportId = initialReport.Identity;
this.DropReports.SelectedValue = this.InitialReportId.ToString(CultureInfo.InvariantCulture);
}