Don't replace history stack when looking up profiles

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-11-08 20:42:33 +01:00
parent d68e6c7f0a
commit ae9d9b4024
+2 -2
View File
@@ -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" },