Adjust checking order for NearToMeCard

This commit is contained in:
Fred Boniface 2024-07-03 11:16:53 +01:00
parent 62f6454b83
commit d17b9c23af

View File

@ -46,10 +46,10 @@
onMount(() => { onMount(() => {
if ($location) { if ($location) {
if ($uuid && $uuid != "null") { if (!$uuid || $uuid === "null") {
getNearestStations();
} else {
errorMessage = "Register to use this feature"; errorMessage = "Register to use this feature";
} else {
getNearestStations();
} }
} }
}); });