pdf > comments > new comments : show email address if no name
This commit is contained in:
parent
6bffbc1707
commit
ea48094bc7
8 changed files with 52 additions and 43 deletions
|
|
@ -3,7 +3,12 @@
|
|||
<Header :title="page.content.title" />
|
||||
<!-- Kanban: Status Brief Enrichi -->
|
||||
|
||||
<PdfViewer v-if="file" :file="file" @close="file = null" />
|
||||
<PdfViewer
|
||||
v-if="file"
|
||||
:file="file"
|
||||
@close="file = null"
|
||||
@update:file="updateFile"
|
||||
/>
|
||||
|
||||
<div class="kanban">
|
||||
<ProjectStep
|
||||
|
|
@ -181,6 +186,14 @@ function setStepStatus(stepName) {
|
|||
function changeFile(newFile) {
|
||||
file.value = newFile;
|
||||
}
|
||||
|
||||
function updateFile(newFile) {
|
||||
page.value.files = [];
|
||||
page.value.files.push(newFile);
|
||||
|
||||
file.value = page.value.files[0];
|
||||
console.log(file.value);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scope>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue