Skip to content

Commit e1894eb

Browse files
fix(sign-tab): use history.state instead of route params for signing navigation state
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 46d59fb commit e1894eb

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

src/components/RightSidebar/SignTab.vue

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,15 @@ export default {
7272
onSigned(data) {
7373
this.$router.push({
7474
name: this.$route.path.startsWith('/p/') ? 'ValidationFileExternal' : 'ValidationFile',
75-
params: {
76-
uuid: data.signRequestUuid,
77-
isAfterSigned: true,
78-
},
75+
params: { uuid: data.signRequestUuid },
76+
state: { isAfterSigned: true },
7977
})
8078
},
8179
onSigningStarted(payload) {
8280
this.$router.push({
8381
name: this.$route.path.startsWith('/p/') ? 'ValidationFileExternal' : 'ValidationFile',
84-
params: {
85-
uuid: payload.signRequestUuid,
86-
isAfterSigned: false,
87-
isAsync: true,
88-
},
82+
params: { uuid: payload.signRequestUuid },
83+
state: { isAfterSigned: false, isAsync: true },
8984
})
9085
},
9186
},

0 commit comments

Comments
 (0)