mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
skip optional signature
This commit is contained in:
1 parent
b71a66a082
commit
4ae834d6f7
1 file changed
+5
-1
@@ -582,7 +582,11 @@ export default {
|
||||
return resolve(attachment)
|
||||
})
|
||||
}).catch((error) => {
|
||||
return reject(error)
|
||||
if (error.message === 'Image too small' && this.field.required === false) {
|
||||
return resolve({})
|
||||
} else {
|
||||
return reject(error)
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user