1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-25 15:59:38 +02:00

fix: update conditionals in AdventureModal and CategoryDropdown for improved logic

This commit is contained in:
Sean Morley 2025-01-13 10:51:33 -05:00
parent 32125efed4
commit 0f828dd0bf
2 changed files with 2 additions and 2 deletions

View file

@ -832,7 +832,7 @@ it would also work to just use on:click on the MapLibre component itself. -->
{$t('adventures.mark_visited')}
</button>
{/if}
{#if (willBeMarkedVisited && !reverseGeocodePlace.region_visited) || (!reverseGeocodePlace.city_visited && willBeMarkedVisited)}
{#if (willBeMarkedVisited && !reverseGeocodePlace.region_visited && reverseGeocodePlace.region_id) || (!reverseGeocodePlace.city_visited && willBeMarkedVisited && reverseGeocodePlace.city_id)}
<div role="alert" class="alert alert-info mt-2">
<svg
xmlns="http://www.w3.org/2000/svg"