Fix wrong prop initialization

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-03-24 09:43:59 +01:00
parent c30944dede
commit 63356b5994
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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;