@lavalogic/scoria 0.4.1 → 0.4.2

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.
@@ -234,7 +234,11 @@
234
234
  onfocus={addKeydownEvent}
235
235
  onchange={(newValue) => {
236
236
  if (newValue?.value !== value) {
237
- tableContext.onEditCell(cell.row.original, focusDetails.coordinates, newValue?.value);
237
+ tableContext.onEditCell(
238
+ cell.row.original,
239
+ focusDetails.coordinates,
240
+ newValue?.value ?? null
241
+ );
238
242
  }
239
243
 
240
244
  tableContext.focusStartIsBeingEdited = false;
@@ -214,7 +214,11 @@
214
214
  onchange={(newValue: SelectOption<unknown> | null) => {
215
215
  if (newValue?.value !== value) {
216
216
  if (optional || newValue?.value != null) {
217
- tableContext.onEditCell(cell.row.original, focusDetails.coordinates, newValue?.value);
217
+ tableContext.onEditCell(
218
+ cell.row.original,
219
+ focusDetails.coordinates,
220
+ newValue?.value ?? null
221
+ );
218
222
  }
219
223
  }
220
224
  tableContext.focusStartIsBeingEdited = false;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lavalogic/scoria",
3
3
  "description": "Svelte components used for the FloWMS Web Frontend",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },