fix empty all section summary computation

This commit is contained in:
Abhinav 2023-08-30 09:49:28 +05:30
parent 7a920c5c36
commit c8bdcd9926

View file

@ -1246,7 +1246,7 @@ function getAllSectionSummary(
coverFile: allSectionFiles?.[0],
latestFile: allSectionFiles?.[0],
fileCount: allSectionFiles?.length || 0,
updationTime: allSectionFiles?.[0].updationTime,
updationTime: allSectionFiles?.[0]?.updationTime,
};
}