Quick fix for relationship toast.

This commit is contained in:
mike12345567 2023-09-05 15:37:18 +01:00
parent e2e20276cb
commit fef5c2a003
1 changed files with 2 additions and 2 deletions

View File

@ -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()
} }