Adjust checking order for NearToMeCard
This commit is contained in:
parent
62f6454b83
commit
d17b9c23af
@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user