{state.snapshot.checkpoints.map(checkpoint => {
const slotNumber = checkpoint.slotId.slice(-1)
- return
{state.locale === 'zh' ? `槽位 ${slotNumber}` : `Slot ${slotNumber}`}{checkpoint.status === 'empty' ? copy.noHealthyStartup : checkpoint.capturedAt === undefined ? copy.rollbackBody : new Date(checkpoint.capturedAt).toLocaleString(numberLocale)}
{checkpoint.status === 'empty' ? copy.emptySlot : copy.availableSlot}{checkpoint.status === 'empty' ? null : <>{checkpoint.pluginCount === undefined ? null : }{checkpoint.totalBytes === undefined ? null : }
} id={checkpoint.slotId}>{copy.openCheckpoint}} id={checkpoint.slotId} variant="default">{copy.rollbackCheckpoint}>}
+ return
{state.locale === 'zh' ? `槽位 ${slotNumber}` : `Slot ${slotNumber}`}{checkpoint.status === 'empty' ? copy.noHealthyStartup : checkpoint.capturedAt === undefined ? copy.rollbackBody : new Date(checkpoint.capturedAt).toLocaleString(numberLocale)}
{checkpoint.status === 'empty' ? copy.emptySlot : copy.availableSlot}{checkpoint.status === 'empty' ? null : <>{checkpoint.pluginCount === undefined ? null : }{checkpoint.totalBytes === undefined ? null : }
} id={checkpoint.slotId}>{copy.openCheckpoint}} id={checkpoint.slotId} variant="default">{copy.rollbackCheckpoint}>}
})}