mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-23 14:59:36 +02:00
Fix location saving
This commit is contained in:
parent
a38887a602
commit
70d08eff8a
4 changed files with 15 additions and 20 deletions
|
@ -161,6 +161,7 @@
|
|||
|
||||
function setLongLat(event: CustomEvent<Adventure>) {
|
||||
console.log(event.detail);
|
||||
isPointModalOpen = false;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -170,8 +171,6 @@
|
|||
on:close={() => (isPointModalOpen = false)}
|
||||
on:submit={setLongLat}
|
||||
bind:adventure={newAdventure}
|
||||
latitude={newAdventure.latitude || null}
|
||||
longitude={newAdventure.longitude || null}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue