pdf > comments > new comments : show email address if no name

This commit is contained in:
isUnknown 2024-10-23 15:45:04 +02:00
parent 6bffbc1707
commit ea48094bc7
8 changed files with 52 additions and 43 deletions

View file

@ -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>