mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #27036 from overleaf/dp-max-errors-message
Fix logic for PdfLogsEntries hasErrors prop GitOrigin-RevId: ca9346bac807176882059ba758594356a7fa854f
This commit is contained in:
@@ -89,7 +89,11 @@ function ErrorLogs() {
|
||||
{entries && (
|
||||
<PdfLogsEntries
|
||||
entries={entries}
|
||||
hasErrors={includeErrors && entries.length > 0}
|
||||
hasErrors={
|
||||
includeErrors &&
|
||||
logEntries?.errors &&
|
||||
logEntries?.errors.length > 0
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user