From ae9d9b4024474f3932952310a51d36962ae8a021 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Tue, 8 Nov 2022 20:42:33 +0100 Subject: [PATCH] Don't replace history stack when looking up profiles Signed-off-by: Sebastian Martinez --- src/Search.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Search.svelte b/src/Search.svelte index 2f4a4bbf0..ccf4574ba 100644 --- a/src/Search.svelte +++ b/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" },