From 63356b59941b9406102b205dbc6d15390e45a064 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 24 Mar 2022 09:43:59 +0100 Subject: [PATCH] Fix wrong prop initialization Signed-off-by: Thomas Citharel --- js/src/components/Map/Vue2LeafletLocateControl.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/components/Map/Vue2LeafletLocateControl.vue b/js/src/components/Map/Vue2LeafletLocateControl.vue index 753bf7c57..5a8369cf9 100644 --- a/js/src/components/Map/Vue2LeafletLocateControl.vue +++ b/js/src/components/Map/Vue2LeafletLocateControl.vue @@ -28,7 +28,7 @@ export default class Vue2LeafletLocateControl extends Vue { unknown >; - @Prop({ type: Boolean, default: true }) visible = true; + @Prop({ type: Boolean, default: true }) visible!: boolean; ready = false;