@dataloop-ai/components 0.20.51 → 0.20.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.20.51",
3
+ "version": "0.20.52",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -123,7 +123,7 @@ export default defineComponent({
123
123
  highlightedIndex.value = value
124
124
 
125
125
  const element =
126
- menu.value?.portalEl.querySelectorAll('.dl-list-item')[value]
126
+ menu.value?.portalEl.querySelectorAll?.('.dl-list-item')[value]
127
127
  if (element) {
128
128
  if (element.scrollIntoViewIfNeeded) {
129
129
  element.scrollIntoViewIfNeeded()