mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
Add ? to item references
This commit is contained in:
parent
23145b0a14
commit
b9295128fd
@ -75,7 +75,7 @@ export const SearchControl = () => {
|
|||||||
return (
|
return (
|
||||||
value.length > 2 &&
|
value.length > 2 &&
|
||||||
((item.layer?.listed && item.name.toLowerCase().includes(value.toLowerCase())) ||
|
((item.layer?.listed && item.name.toLowerCase().includes(value.toLowerCase())) ||
|
||||||
item.text.toLowerCase().includes(value.toLowerCase()))
|
item.text?.toLowerCase().includes(value.toLowerCase()))
|
||||||
)
|
)
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|||||||
@ -147,7 +147,7 @@ export function UtopiaMapInner({
|
|||||||
?.setAttribute('content', ref.item.name)
|
?.setAttribute('content', ref.item.name)
|
||||||
document
|
document
|
||||||
.querySelector('meta[property="og:description"]')
|
.querySelector('meta[property="og:description"]')
|
||||||
?.setAttribute('content', ref.item.text)
|
?.setAttribute('content', ref.item.text ?? '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user