File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,7 +308,6 @@ import svgSignal from '../../../img/logo-signal-app.svg?raw'
308308import svgTelegram from ' ../../../img/logo-telegram-app.svg?raw'
309309import { FILE_STATUS , SIGN_REQUEST_STATUS } from ' ../../constants.js'
310310import { openDocument } from ' ../../utils/viewer.js'
311- import router from ' ../../router/router'
312311import { useFilesStore } from ' ../../store/files.js'
313312import { useSidebarStore } from ' ../../store/sidebar.js'
314313import { useSignStore } from ' ../../store/sign.js'
@@ -875,8 +874,7 @@ export default {
875874 }
876875
877876 if (this .useModal ) {
878- const route = router .resolve ({ name: ' ValidationFileExternal' , params: { uuid: targetUuid } })
879- this .modalSrc = route .href
877+ this .modalSrc = generateUrl (' /apps/libresign/p/validation/{uuid}' , { uuid: targetUuid })
880878 return
881879 }
882880 this .$router .push ({ name: ' ValidationFile' , params: { uuid: targetUuid } })
@@ -1026,8 +1024,7 @@ export default {
10261024
10271025 const uuid = file .signUuid
10281026 if (this .useModal ) {
1029- const route = router .resolve ({ name: ' SignPDFExternal' , params: { uuid } })
1030- this .modalSrc = route .href
1027+ this .modalSrc = generateUrl (' /apps/libresign/p/sign/{uuid}/pdf' , { uuid })
10311028 return
10321029 }
10331030 this .signStore .setFileToSign (this .filesStore .getFile ())
You can’t perform that action at this time.
0 commit comments