feat(gateways): Add Gateway detail page with connection status and agent listing

This commit is contained in:
Abhimanyu Saharan
2026-02-04 23:54:31 +05:30
parent 8452dc110e
commit 28bc773f72
4 changed files with 319 additions and 4 deletions

View File

@@ -161,7 +161,7 @@ export default function NewGatewayPage() {
throw new Error("Unable to create gateway.");
}
const created = (await response.json()) as { id: string };
router.push(`/gateways/${created.id}/edit`);
router.push(`/gateways/${created.id}`);
} catch (err) {
setError(err instanceof Error ? err.message : "Something went wrong.");
} finally {