Fixed Vorschau Reloading
This commit is contained in:
@@ -1206,6 +1206,7 @@ const getDocumentData = async () => {
|
|||||||
const showDocument = ref(false)
|
const showDocument = ref(false)
|
||||||
const uri = ref("")
|
const uri = ref("")
|
||||||
const generateDocument = async () => {
|
const generateDocument = async () => {
|
||||||
|
showDocument.value = false
|
||||||
const path = letterheads.value.find(i => i.id === itemInfo.value.letterhead).path
|
const path = letterheads.value.find(i => i.id === itemInfo.value.letterhead).path
|
||||||
|
|
||||||
uri.value = await useFunctions().useCreatePDF(await getDocumentData(), path)
|
uri.value = await useFunctions().useCreatePDF(await getDocumentData(), path)
|
||||||
|
|||||||
Reference in New Issue
Block a user