Show local seed page upon successful authentication

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-03-14 15:35:11 +01:00
parent c1d0fbc1d7
commit feed4d4461
+2 -2
View File
@@ -18,6 +18,7 @@
if (status === "success") {
modal.show({ component: AuthenticatedModal, props: {} });
router.push({ resource: "seeds", params: { host: "radicle.local" } });
} else {
modal.show({
component: AuthenticationErrorModal,
@@ -29,9 +30,8 @@
],
},
});
router.push({ resource: "home" });
}
router.push({ resource: "home" });
});
</script>