From 41602e21c2c81bbb9ebabe14aae47c137f0b57e7 Mon Sep 17 00:00:00 2001 From: userAdityaa Date: Mon, 20 Apr 2026 23:26:48 +0545 Subject: [PATCH] feat: display relay provisioning errors in UI --- frontend/src/components/RelayDetailCard.tsx | 7 +++++++ frontend/src/components/RelayListItem.tsx | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/RelayDetailCard.tsx b/frontend/src/components/RelayDetailCard.tsx index cf9b7d6..360c0f9 100644 --- a/frontend/src/components/RelayDetailCard.tsx +++ b/frontend/src/components/RelayDetailCard.tsx @@ -203,6 +203,13 @@ export default function RelayDetailCard(props: RelayDetailCardProps) { + +
+

Provisioning error

+

{r().sync_error}

+
+
+
diff --git a/frontend/src/components/RelayListItem.tsx b/frontend/src/components/RelayListItem.tsx index cef2ebe..5edc721 100644 --- a/frontend/src/components/RelayListItem.tsx +++ b/frontend/src/components/RelayListItem.tsx @@ -1,4 +1,5 @@ import { A } from "@solidjs/router" +import { Show } from "solid-js" import type { Relay } from "@/lib/api" type RelayListItemProps = { @@ -19,7 +20,17 @@ export default function RelayListItem(props: RelayListItemProps) {

Tenant: {props.relay.tenant}

)} -

{props.relay.status}

+ {props.relay.status}

} + > + + {props.relay.sync_error} + +
-- 2.52.0