Merge pull request #1219 from dod-ccpo/upload-timing-bug

TO next button activation bugfix
This commit is contained in:
leigh-mil 2019-12-03 10:43:57 -05:00 committed by GitHub
commit e2513582ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,18 +58,18 @@ export default {
this.$refs.attachmentFilename.value = file.name this.$refs.attachmentFilename.value = file.name
this.$refs.attachmentObjectName.value = response.objectName this.$refs.attachmentObjectName.value = response.objectName
this.$refs.attachmentInput.disabled = true this.$refs.attachmentInput.disabled = true
emitFieldChange(this)
this.changed = true
this.downloadLink = await this.getDownloadLink( this.downloadLink = await this.getDownloadLink(
file.name, file.name,
response.objectName response.objectName
) )
} else { } else {
emitFieldChange(this)
this.changed = true
this.uploadError = true this.uploadError = true
} }
this.changed = true
emitFieldChange(this)
}, },
removeAttachment: function(e) { removeAttachment: function(e) {
e.preventDefault() e.preventDefault()