mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-29 17:59:36 +02:00
fix: prevent marking adventure as visited if the place is already visited
This commit is contained in:
parent
50e0d4a34e
commit
82a1134019
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@
|
||||||
addToast('error', $t('adventures.adventure_update_error'));
|
addToast('error', $t('adventures.adventure_update_error'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (adventure.is_visited) {
|
if (adventure.is_visited && !reverseGeocodePlace?.is_visited) {
|
||||||
markVisited();
|
markVisited();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue