优化
This commit is contained in:
@@ -60,7 +60,13 @@ function overview(raw: ContainerOverview): ContainerOverview {
|
||||
documents: (raw.documents || []).map(overviewDocument),
|
||||
exception: { ...raw.exception, markedBy: optionalId(raw.exception?.markedBy) },
|
||||
exceptionHistory: (raw.exceptionHistory || []).map((entry) => ({ ...entry, id: id(entry.id), operatorId: optionalId(entry.operatorId) })),
|
||||
timeline: (raw.timeline || []).map((entry) => ({ ...entry, operatorId: optionalId(entry.operatorId) })),
|
||||
timeline: (raw.timeline || []).map((entry) => ({
|
||||
...entry,
|
||||
id: optionalId(entry.id),
|
||||
eventId: optionalId(entry.eventId),
|
||||
idempotencyKey: optionalId(entry.idempotencyKey),
|
||||
operatorId: optionalId(entry.operatorId),
|
||||
})),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user