From 82f7689320e1a6bc9eb4e2fd118943462e6c7c9d Mon Sep 17 00:00:00 2001 From: Mike Bronner Date: Fri, 17 Jun 2022 05:34:31 -0700 Subject: [PATCH] Fixed detection if location is set in detail view. Fixes #69 --- resources/js/components/DetailField.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/components/DetailField.vue b/resources/js/components/DetailField.vue index 7a3988c..f4298b6 100644 --- a/resources/js/components/DetailField.vue +++ b/resources/js/components/DetailField.vue @@ -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 () {