1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

Merge pull request #11106 from Budibase/BUDI-7240/refetch_relationships

BUDI-7240 - Refetch relationships
This commit is contained in:
Adria Navarro 2023-07-03 15:30:13 +01:00 committed by GitHub
commit 28fa5e4e23

View file

@ -182,6 +182,15 @@
indexes,
})
dispatch("updatecolumns")
if (
saveColumn.type === LINK_TYPE &&
saveColumn.relationshipType === RelationshipTypes.MANY_TO_MANY
) {
// Fetching the new tables
tables.fetch()
// Fetching the new relationships
datasources.fetch()
}
if (originalName) {
notifications.success("Column updated successfully")
} else {