Making sure that notes default dates are the current date
This commit is contained in:
parent
06daffbd1c
commit
4ff760a0ff
|
@ -1,5 +1,5 @@
|
|||
import { IconButton } from '@suid/material';
|
||||
import { Component, createSignal } from 'solid-js';
|
||||
import { Component, createSignal, Show } from 'solid-js';
|
||||
import { Geolocation } from '@awesome-cordova-plugins/geolocation';
|
||||
|
||||
import NoteIcon from '@suid/icons-material/Note';
|
||||
|
@ -66,12 +66,14 @@ const Note: Component<Props> = (props) => {
|
|||
<NoteIcon />
|
||||
</IconButton>
|
||||
</div>
|
||||
<Show when={open()}>
|
||||
<WptEditDialog
|
||||
open={open}
|
||||
closeHandler={() => setOpen(false)}
|
||||
coordinate={coordinate}
|
||||
initialWpt={initialWpt}
|
||||
/>
|
||||
</Show>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue