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

Commit

Permalink
Fixed detection if location is set in detail view.
Browse files Browse the repository at this point in the history
Fixes #69
  • Loading branch information
mikebronner authored Jun 17, 2022
1 parent d8c7ec5 commit 82f7689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/DetailField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
let value = JSON.parse(this.value);
return value.latitude > 0
|| value.longitude > 0;
return value.latitude !== 0
|| value.longitude !== 0;
},
locationIsNotSet: function () {
Expand Down

0 comments on commit 82f7689

Please sign in to comment.