IRC_NewDev
he 2024-09-04 15:35:07 +08:00
parent dc3c3f7557
commit 34d5f809ee
1 changed files with 2 additions and 2 deletions

View File

@ -601,9 +601,9 @@ namespace IRaCIS.Core.Application.Services
item.InstanceInfoList.ForEach(x =>
{
var keyFramesList = rowInfoList.Where(y => y.InstanceId == x.Id).Select(y => y.NumberOfFrames).Distinct().ToList();
var keyFramesList = rowInfoList.Where(y => y.InstanceId == x.Id&&y.NumberOfFrames!=0).Select(y => y.NumberOfFrames).Distinct().ToList();
if (keyFramesList.Count() > 1)
if (keyFramesList.Count() > 0)
{
x.KeyFramesList = keyFramesList;
}