forked from verdnatura/salix-front
Merge pull request 'fix: onDataSaved VnTable' (!772) from fix_vnTable_onDataSaved into master
Reviewed-on: verdnatura/salix-front#772 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
36838f930c
|
@ -300,7 +300,7 @@ defineExpose({
|
||||||
});
|
});
|
||||||
|
|
||||||
function handleOnDataSaved(_, res) {
|
function handleOnDataSaved(_, res) {
|
||||||
if (_.onDataSaved) _.onDataSaved(this);
|
if (_.onDataSaved) _.onDataSaved({ CrudModelRef: CrudModelRef.value });
|
||||||
else $props.create.onDataSaved(_);
|
else $props.create.onDataSaved(_);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue