@dataloop-ai/components 0.18.144 → 0.18.145

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.18.144",
3
+ "version": "0.18.145",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -360,7 +360,16 @@ export default defineComponent({
360
360
 
361
361
  const debouncedSetInputValue = debounce(setInputValue, 300)
362
362
 
363
+ let lastSearchQuery: string;
364
+
363
365
  const updateJSONQuery = () => {
366
+
367
+ if (lastSearchQuery === searchQuery.value) {
368
+ return null
369
+ } else {
370
+ lastSearchQuery = searchQuery.value
371
+ }
372
+
364
373
  try {
365
374
  const bracketless = removeBrackets(searchQuery.value)
366
375
  const cleanedAliases = revertAliases(bracketless, aliases.value)