Avoid error on photo modal without photos
This commit is contained in:
parent
70ebfa8ee0
commit
4c71cab973
1 changed files with 1 additions and 3 deletions
|
|
@ -854,9 +854,7 @@
|
|||
></button>
|
||||
</div>
|
||||
<div class="modal-body text-center">
|
||||
<template
|
||||
x-if="selectedCommunication && selectedCommunication.public_report.images"
|
||||
>
|
||||
<template x-if="selectedCommunication && showPhotoModal">
|
||||
<div>
|
||||
<img
|
||||
:src="selectedCommunication.public_report.images[currentPhotoIndex].url_content"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue