Adjust checking order for NearToMeCard

This commit is contained in:
Fred Boniface committed 2024-07-03 11:16:53 +01:00
1 parent 62f6454b83
commit d17b9c23af
1 file changed
+3 -3
+3 -3
View File
@@ -46,10 +46,10 @@
onMount(() => {
if ($location) {
if ($uuid && $uuid != "null") {
getNearestStations();
} else {
if (!$uuid || $uuid === "null") {
errorMessage = "Register to use this feature";
} else {
getNearestStations();
}
}
});