diff --git a/src/pages/parts/admin/WorkerTestPart.tsx b/src/pages/parts/admin/WorkerTestPart.tsx index d74477cc..9fea1fbe 100644 --- a/src/pages/parts/admin/WorkerTestPart.tsx +++ b/src/pages/parts/admin/WorkerTestPart.tsx @@ -15,7 +15,10 @@ export function WorkerItem(props: { errored?: boolean; success?: boolean; errorText?: string; + url?: string; }) { + const urlWithoutProtocol = props.url ? new URL(props.url).host : null; + return (

{props.name}

{props.errorText ?

{props.errorText}

: null} + {urlWithoutProtocol ?

{urlWithoutProtocol}

: null}
); @@ -115,7 +119,7 @@ export function WorkerTestPart() { /> ); if (s.status === "success") - return ; + return ; return ; })}