Avoid error on photo modal without photos

This commit is contained in:
Eli Ribble 2026-03-14 16:17:08 +00:00
parent 70ebfa8ee0
commit 4c71cab973
No known key found for this signature in database

View file

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