mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Don't replace history stack when looking up profiles
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
+2
-2
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user