Adjust checking order for NearToMeCard

This commit is contained in:
Fred Boniface 2024-07-03 11:16:53 +01:00
parent 62f6454b83
commit d17b9c23af
1 changed files with 3 additions and 3 deletions

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();
}
}
});