1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Merge remote-tracking branch 'origin/develop' into picker-bug

This commit is contained in:
Peter Clement 2023-09-06 10:18:40 +01:00
commit 1a9cc7551b
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
{
"version": "2.9.39-alpha.4",
"version": "2.9.39-alpha.5",
"npmClient": "yarn",
"packages": [
"packages/*"

View file

@ -290,11 +290,11 @@
datasource.entities[getTable(toId).name].schema[toRelationship.name] =
toRelationship
await save()
await save({ action: "saved" })
}
async function deleteRelationship() {
removeExistingRelationship()
await save()
await save({ action: "deleted" })
await tables.fetch()
close()
}

View file

@ -33,7 +33,7 @@
}
// action is one of 'created', 'updated' or 'deleted'
async function saveRelationship(action) {
async function saveRelationship({ action }) {
try {
await beforeSave({ action, datasource })