lkt-item-crud 1.1.9 → 1.1.10

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": "lkt-item-crud",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "module": "./dist/build.js",
@@ -202,12 +202,12 @@ const onDrop = ($event: PointerEvent, r: HTTPResponse) => {
202
202
  if (emits === 'create') {
203
203
  if (typeof props.onCreate === 'function') {
204
204
  debug('onSave -> trigger onCreate callback');
205
- props.onCreate();
205
+ props.onCreate(r);
206
206
  }
207
207
  } else {
208
208
  if (typeof props.onUpdate === 'function') {
209
209
  debug('onSave -> trigger onUpdate callback');
210
- props.onUpdate();
210
+ props.onUpdate(r);
211
211
  }
212
212
  }
213
213
  emit(emits, r)