This commit is contained in:
2024-05-23 10:27:52 +02:00
parent 28ff274107
commit eca1cd380b
10 changed files with 166 additions and 41 deletions

View File

@@ -27,6 +27,7 @@ const openShowModal = ref(false)
const openDocument = async () => {
//selectedDocument.value = doc
openShowModal.value = true
console.log("open")
}
const updateDocument = async () => {
@@ -131,7 +132,7 @@ const updateDocumentAssignment = async () => {
</script>
<template>
<div class="documentListItem" @click="returnEmit ? $emit('clicked', documentData.id) : openDocument">
<div class="documentListItem" @click="returnEmit ? $emit('clicked', documentData.id) : openShowModal = true">
<object
:data="`${documentData.url}#toolbar=0&navpanes=0&scrollbar=0`"
class="previewEmbed"