diff --git a/src/app/[orgId]/settings/logs/streaming/page.tsx b/src/app/[orgId]/settings/logs/streaming/page.tsx index 44ec39fcd..7e48d7566 100644 --- a/src/app/[orgId]/settings/logs/streaming/page.tsx +++ b/src/app/[orgId]/settings/logs/streaming/page.tsx @@ -106,7 +106,9 @@ function DestinationCard({ {/* URL preview */}

{cfg.url || ( - {t("streamingNoUrlConfigured")} + + {t("streamingNoUrlConfigured")} + )}

@@ -160,7 +162,9 @@ function AddDestinationCard({ onClick }: { onClick: () => void }) {
- {t("streamingAddDestination")} + + {t("streamingAddDestination")} + ); @@ -186,7 +190,9 @@ function DestinationTypePicker({ const t = useTranslations(); const [selected, setSelected] = useState("http"); - const destinationTypeOptions: ReadonlyArray> = [ + const destinationTypeOptions: ReadonlyArray< + StrategyOption + > = [ { id: "http", title: t("streamingHttpWebhookTitle"), @@ -233,13 +239,19 @@ function DestinationTypePicker({ - {t("streamingAddDestination")} + + {t("streamingAddDestination")} + {t("streamingTypePickerDescription")} -
+
{ @@ -375,10 +381,7 @@ export default function StreamingDestinationsPage() { toast({ variant: "destructive", title: t("streamingFailedToDelete"), - description: formatAxiosError( - e, - t("streamingUnexpectedError") - ) + description: formatAxiosError(e, t("streamingUnexpectedError")) }); } finally { setDeleting(false); @@ -459,13 +462,14 @@ export default function StreamingDestinationsPage() { if (!v) setDeleteTarget(null); }} string={ - parseHttpConfig(deleteTarget.config).name || t("streamingDeleteDialogThisDestination") + parseHttpConfig(deleteTarget.config).name || + t("streamingDeleteDialogThisDestination") } title={t("streamingDeleteTitle")} dialog={ -

+

{t("streamingDeleteDialogAreYouSure")}{" "} - + {parseHttpConfig(deleteTarget.config).name || t("streamingDeleteDialogThisDestination")} @@ -478,4 +482,4 @@ export default function StreamingDestinationsPage() { )} ); -} \ No newline at end of file +}