Changes
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user