Merge remote-tracking branch 'origin/develop' into picker-bug
This commit is contained in:
commit
1a9cc7551b
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "2.9.39-alpha.4",
|
"version": "2.9.39-alpha.5",
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
|
|
|
@ -290,11 +290,11 @@
|
||||||
datasource.entities[getTable(toId).name].schema[toRelationship.name] =
|
datasource.entities[getTable(toId).name].schema[toRelationship.name] =
|
||||||
toRelationship
|
toRelationship
|
||||||
|
|
||||||
await save()
|
await save({ action: "saved" })
|
||||||
}
|
}
|
||||||
async function deleteRelationship() {
|
async function deleteRelationship() {
|
||||||
removeExistingRelationship()
|
removeExistingRelationship()
|
||||||
await save()
|
await save({ action: "deleted" })
|
||||||
await tables.fetch()
|
await tables.fetch()
|
||||||
close()
|
close()
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// action is one of 'created', 'updated' or 'deleted'
|
// action is one of 'created', 'updated' or 'deleted'
|
||||||
async function saveRelationship(action) {
|
async function saveRelationship({ action }) {
|
||||||
try {
|
try {
|
||||||
await beforeSave({ action, datasource })
|
await beforeSave({ action, datasource })
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue