From ab0c7992f898801cc1f86306814be71f0b913d57 Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Mon, 6 May 2013 14:44:56 +1000 Subject: [PATCH] Fix: Device Model Cast Error --- Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs b/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs index 9540490a..13dba06b 100644 --- a/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs @@ -22,7 +22,7 @@ namespace Disco.Web.Areas.Config.Models.DeviceModel Model = dm.Model, ModelType = dm.ModelType, DeviceCount = dm.Devices.Count - }).Cast().ToList(); + }).ToArray().Cast().ToList(); return m; }