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>
|
></button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body text-center">
|
<div class="modal-body text-center">
|
||||||
<template
|
<template x-if="selectedCommunication && showPhotoModal">
|
||||||
x-if="selectedCommunication && selectedCommunication.public_report.images"
|
|
||||||
>
|
|
||||||
<div>
|
<div>
|
||||||
<img
|
<img
|
||||||
:src="selectedCommunication.public_report.images[currentPhotoIndex].url_content"
|
:src="selectedCommunication.public_report.images[currentPhotoIndex].url_content"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue