change(ui): fix error printing
This commit is contained in:
parent
b02bf8c23d
commit
4bdb30daa3
2 changed files with 2 additions and 6 deletions
|
|
@ -135,7 +135,7 @@ function HealthModal({
|
|||
</Button>
|
||||
</div>
|
||||
) : null}
|
||||
<Footer isSetup />
|
||||
<Footer isSetup={isSetup} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -34,11 +34,7 @@ function SubserviceHealth({
|
|||
{subservice?.details?.errors?.length ? (
|
||||
<div className={'py-2 px-4 bg-white rounded-xl border border-light-gray'}>
|
||||
<div>Error log:</div>
|
||||
{subservice.details.errors.map((err: string, i) => (
|
||||
<div className={'mt-2'} key={i + 1}>
|
||||
{i + 1}. {err}
|
||||
</div>
|
||||
))}
|
||||
{subservice.details.errors.toString()}
|
||||
</div>
|
||||
) : subservice?.health ? null : (
|
||||
'Service not responding'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue