Skip to content

Commit

Permalink
fix map not updating (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored May 2, 2024
1 parent 2f78c38 commit f8f9542
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/components/gallery/photo/sidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class="border-t border-solid border-primary-500 text-text-main-0 w-[360px] h-ful
data-asset='{{ URL::asset('/') }}'
id="leaflet_map_single_photo" class="col-span-2 h-48 bg-red-500 my-0.5 mx-3"
x-init="$nextTick(() => displayMap())"
x-on:photo-updated.window="$nextTick(() => displayMap())"
x-show="precomputed.has_location"></div>
<x-gallery.photo.line if="precomputed.has_location && preformatted.latitude"
:locale="__('lychee.PHOTO_LATITUDE')"
Expand Down

0 comments on commit f8f9542

Please sign in to comment.