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