frontend use Lightbox to enlarge mail attachments
This commit is contained in:
parent
027cf4fca4
commit
7e3a151ead
3 changed files with 25 additions and 9 deletions
|
@ -3,7 +3,7 @@
|
|||
<template #body>
|
||||
<AuthenticatedImage
|
||||
class="img-fluid rounded mx-auto d-block mb-3 w-100"
|
||||
:src="`/media/2/${file}/`"
|
||||
:src="`/media/2/${hash}/`"
|
||||
alt="Image not available."
|
||||
id="lightbox-image"
|
||||
/>
|
||||
|
@ -21,7 +21,7 @@ import AuthenticatedImage from "@/components/AuthenticatedImage.vue";
|
|||
export default {
|
||||
name: 'Lightbox',
|
||||
components: {Modal, AuthenticatedImage},
|
||||
props: ['file']
|
||||
props: ['hash']
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue