Skip to content

Commit

Permalink
fix: prevent js error
Browse files Browse the repository at this point in the history
After sign with unauthenticated signer, the validation page need to be
the external.

Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Jan 13, 2025
1 parent b34d669 commit 9f563f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/RightSidebar/SignTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
},
onSigned(data) {
this.$router.push({
name: 'ValidationFile',
name: this.$route.path.startsWith('/p/') ? 'ValidationFileExternal' : 'ValidationFile',
params: {
uuid: data.file.uuid,
isAfterSigned: true,
Expand Down

0 comments on commit 9f563f9

Please sign in to comment.