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