Fix: Device Model Cast Error
This commit is contained in:
1 parent
8533ec2fe0
commit
ab0c7992f8
1 file changed
+1
-1
@@ -22,7 +22,7 @@ namespace Disco.Web.Areas.Config.Models.DeviceModel
|
||||
Model = dm.Model,
|
||||
ModelType = dm.ModelType,
|
||||
DeviceCount = dm.Devices.Count
|
||||
}).Cast<ConfigDeviceModelIndexModelItem>().ToList();
|
||||
}).ToArray().Cast<ConfigDeviceModelIndexModelItem>().ToList();
|
||||
|
||||
return m;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user