+ {restarts.map((restart) => {
+ const pill =
+ restart.status === 'success'
+ ? 'ok'
+ : restart.status === 'failed'
+ ? 'error'
+ : 'stale';
+ return (
+
+
+ {t.health.restartTarget}
+ {restart.target}
+
+
+ {restart.status}
+
+
+ {t.health.restartRequested}
+ {formatDate(restart.requestedAt, locale)}
+
+
+ {t.health.restartServices}
+
+ {restart.services.length > 0
+ ? restart.services.join(', ')
+ : '-'}
+
+
+ {restart.error ? (
+ {restart.error}
+ ) : null}
+