Don't refresh PDF after file uploaded
This commit is contained in:
parent
e392ed1921
commit
0c2bd4414d
1 changed files with 3 additions and 1 deletions
|
|
@ -1435,7 +1435,9 @@
|
|||
file.public_id = response.document.public_id
|
||||
model.invoice().documents()[file.index].update(response.document);
|
||||
window.countUploadingDocuments--;
|
||||
refreshPDF(true);
|
||||
@if ($account->invoice_embed_documents)
|
||||
refreshPDF(true);
|
||||
@endif
|
||||
if(response.document.preview_url){
|
||||
dropzone.emit('thumbnail', file, response.document.preview_url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue