@dataloop-ai/components 0.19.87 → 0.19.88
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
|
@@ -305,11 +305,13 @@ export default defineComponent({
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
const saveQuery = (searchAfterSave = false) => {
|
|
308
|
-
|
|
308
|
+
const updateOldFilter =
|
|
309
|
+
hasActiveFilter.value && newQueryName.value === ''
|
|
310
|
+
let toSave: DlSmartSearchFilter = updateOldFilter
|
|
309
311
|
? selectedOption.value
|
|
310
312
|
: ({} as DlSmartSearchFilter)
|
|
311
313
|
toSave = Object.assign({}, toSave, {
|
|
312
|
-
label:
|
|
314
|
+
label: updateOldFilter
|
|
313
315
|
? selectedOption.value.label
|
|
314
316
|
: newQueryName.value,
|
|
315
317
|
value: currentQuery.value
|