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

fix: prevent marking adventure as visited if the place is already visited

This commit is contained in:
Sean Morley 2025-01-03 12:15:39 -05:00
parent 50e0d4a34e
commit 82a1134019

View file

@ -542,7 +542,7 @@
addToast('error', $t('adventures.adventure_update_error'));
}
}
if (adventure.is_visited) {
if (adventure.is_visited && !reverseGeocodePlace?.is_visited) {
markVisited();
}
}