Skip to content

Commit

Permalink
fix: v2 redirect link to global delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
bonustrack committed Dec 16, 2024
1 parent 9f2f16e commit 20f3eaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Banner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ const link = computed(() => {
break;
}
case 'delegate': {
path = `${prefix}:${route.params.key}/delegates`;
path = route.params.key
? `${prefix}:${route.params.key}/delegates`
: 'explore';
break;
}
case 'profileAbout': {
Expand Down

0 comments on commit 20f3eaf

Please sign in to comment.