Merge pull request #11106 from Budibase/BUDI-7240/refetch_relationships
BUDI-7240 - Refetch relationships
This commit is contained in:
commit
28fa5e4e23
|
@ -182,6 +182,15 @@
|
||||||
indexes,
|
indexes,
|
||||||
})
|
})
|
||||||
dispatch("updatecolumns")
|
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) {
|
if (originalName) {
|
||||||
notifications.success("Column updated successfully")
|
notifications.success("Column updated successfully")
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue