Skip to content

Commit 1153e41

Browse files
fix: return authoritative file detail on force fetch
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent ce024e2 commit 1153e41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/store/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ const _filesStore = defineStore('files', () => {
561561
}
562562

563563
await store.addFile(fileData, { detailsLoaded: true })
564-
return files.value[fileData.id] || null
564+
return apiFiles.value[fileData.id] || files.value[fileData.id] || null
565565
}
566566

567567
async function addFilesToEnvelope(envelopeUuid, formData, options = {}) {

0 commit comments

Comments
 (0)