Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Don't replace history stack when looking up profiles
Sebastian Martinez committed 3 years ago
commit ae9d9b4024474f3932952310a51d36962ae8a021
parent d68e6c7f0a976d694ca226bd040eb0161a407200
1 file changed +2 -2
modified src/Search.svelte
@@ -165,14 +165,14 @@
      shake();
    } else if (searchResult.type === "singleProfile") {
      input = "";
-
      router.replace({
+
      router.push({
        resource: "profile",
        params: { addressOrName: searchResult.id },
      });
      dispatch("finished");
    } else if (searchResult.type === "singleProject") {
      input = "";
-
      router.replace({
+
      router.push({
        resource: "projects",
        params: {
          view: { resource: "tree" },