Show plain error message if primary location is in use
This commit is contained in:
@@ -9,7 +9,7 @@ const elem = useTemplateRef('elem');
|
||||
|
||||
onMounted(() => {
|
||||
const observer = new IntersectionObserver(result => {
|
||||
if (result[0].isIntersecting) {
|
||||
if (result[0].isIntersecting && elem.value) {
|
||||
visible.value = true;
|
||||
observer.unobserve(elem.value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user