diff --git a/frontend/src/components/PointInfo.vue b/frontend/src/components/PointInfo.vue index 594cfae..80fb3ad 100644 --- a/frontend/src/components/PointInfo.vue +++ b/frontend/src/components/PointInfo.vue @@ -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() }) } },