ui: wrap error logs

This commit is contained in:
nick-delirium 2025-01-16 09:16:17 +01:00
parent d42905d394
commit 0911c6528c
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -32,9 +32,9 @@ function SubserviceHealth({
</div>
) : null}
{subservice?.details?.errors?.length ? (
<div className={'py-2 px-4 bg-white rounded border border-light-gray'}>
<div className={'py-2 px-4 bg-white rounded border border-light-gray flex gap-1 flex-wrap'}>
<div>Error log:</div>
{subservice.details.errors.toString()}
<div>{subservice.details.errors.toString()}</div>
</div>
) : subservice?.health ? null : (
'Service not responding'