Skip to content

Commit 3bf7615

Browse files
fix(validation): read isAsync and isAfterSigned from history.state
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent e1894eb commit 3bf7615

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/views/Validation.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default {
191191
|| this.uuidToValidate
192192
},
193193
isAfterSigned() {
194-
return this.$route.params.isAfterSigned ?? this.shouldFireAsyncConfetti ?? false
194+
return history.state?.isAfterSigned ?? this.shouldFireAsyncConfetti ?? false
195195
},
196196
isEnvelope() {
197197
return this.document?.nodeType === 'envelope'
@@ -270,7 +270,7 @@ export default {
270270
this.validate(this.uuidToValidate)
271271
}
272272
273-
if (this.$route.params.isAsync === true) {
273+
if (history.state?.isAsync === true) {
274274
this.isAsyncSigning = true
275275
this.shouldFireAsyncConfetti = true
276276
this.loading = true

0 commit comments

Comments
 (0)