From 9f563f91ad45c9d60d6bd0b9cebb05d8d9cb3ba8 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Mon, 13 Jan 2025 09:11:37 -0300 Subject: [PATCH] fix: prevent js error After sign with unauthenticated signer, the validation page need to be the external. Signed-off-by: Vitor Mattos --- src/Components/RightSidebar/SignTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/RightSidebar/SignTab.vue b/src/Components/RightSidebar/SignTab.vue index bee98266af..42dd335b2f 100644 --- a/src/Components/RightSidebar/SignTab.vue +++ b/src/Components/RightSidebar/SignTab.vue @@ -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,