 Fixed two type errors.

This commit is contained in:
Fabio Manganiello 2025-03-23 23:51:40 +01:00
parent d49f8ec013
commit 42840236b0
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -89,7 +89,7 @@ export default {
data() {
return {
newValue: null,
newValue: {} as GPSPoint,
editDescription: false,
popup: null as Overlay | null,
}
@ -162,7 +162,7 @@ export default {
editDescription(edit: boolean) {
if (edit) {
this.$nextTick(() => {
this.$refs.description?.focus()
(this.$refs.description as HTMLTextAreaElement).focus()
})
}
},