@firecms/core 3.0.0-canary.270 → 3.0.0-canary.271

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/dist/index.es.js CHANGED
@@ -11166,7 +11166,7 @@ function StringNumberFilterField(t0) {
11166
11166
  t7 = !enumValues && /* @__PURE__ */ jsx(TextField, { type: dataType === "number" ? "number" : void 0, value: internalValue !== void 0 && internalValue != null ? String(internalValue) : "", onChange: (evt) => {
11167
11167
  const val_0 = dataType === "number" ? parseFloat(evt.target.value) : evt.target.value;
11168
11168
  updateFilter(operation, val_0);
11169
- }, endAdornment: internalValue && /* @__PURE__ */ jsx(IconButton, { onClick: (e) => updateFilter(operation, void 0), children: /* @__PURE__ */ jsx(CloseIcon, {}) }) });
11169
+ }, endAdornment: internalValue !== void 0 && internalValue != null && /* @__PURE__ */ jsx(IconButton, { onClick: (e) => updateFilter(operation, void 0), children: /* @__PURE__ */ jsx(CloseIcon, {}) }) });
11170
11170
  $[20] = dataType;
11171
11171
  $[21] = enumValues;
11172
11172
  $[22] = internalValue;