Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Commit 82f7689

Browse files
authored
Fixed detection if location is set in detail view.
Fixes #69
1 parent d8c7ec5 commit 82f7689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/components/DetailField.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
8888
let value = JSON.parse(this.value);
8989
90-
return value.latitude > 0
91-
|| value.longitude > 0;
90+
return value.latitude !== 0
91+
|| value.longitude !== 0;
9292
},
9393
9494
locationIsNotSet: function () {

0 commit comments

Comments
 (0)