File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,10 +310,12 @@ export const useFilesStore = function(...args) {
310310 this . selectFile ( selected ) // to force reactivity
311311 } ,
312312 async deleteSigner ( signer ) {
313+ const file = this . getFile ( )
314+
313315 if ( ! isNaN ( signer . signRequestId ) ) {
314316 await axios . delete ( generateOcsUrl ( '/apps/libresign/api/{apiVersion}/sign/file_id/{fileId}/{signRequestId}' , {
315317 apiVersion : 'v1' ,
316- fileId : this . getFile ( ) . id ,
318+ fileId : file . id ,
317319 signRequestId : signer . signRequestId ,
318320 } ) )
319321 }
@@ -324,7 +326,7 @@ export const useFilesStore = function(...args) {
324326 this . files [ this . selectedNodeId ] . signers . filter ( ( i ) => i . identify !== signer . identify ) ,
325327 )
326328
327- if ( this . getFile ( ) . signatureFlow === 'ordered_numeric' && signer . signingOrder ) {
329+ if ( file . signatureFlow === 'ordered_numeric' && signer . signingOrder ) {
328330 this . files [ this . selectedNodeId ] . signers . forEach ( ( s ) => {
329331 if ( s . signingOrder && s . signingOrder > signer . signingOrder ) {
330332 s . signingOrder -= 1
You can’t perform that action at this time.
0 commit comments