feat(gateways): Add Gateway detail page with connection status and agent listing
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user