Refresh tables list when some other user adds a datasource
This commit is contained in:
parent
9e535a1ca4
commit
f2ce876c5f
|
@ -113,6 +113,10 @@ export function createDatasourcesStore() {
|
|||
...state,
|
||||
list: [...state.list, datasource],
|
||||
}))
|
||||
|
||||
// If this is a new datasource then we should refresh the tables list,
|
||||
// because otherwise we'll never see the new tables
|
||||
tables.fetch()
|
||||
}
|
||||
|
||||
// Update existing datasource
|
||||
|
|
Loading…
Reference in New Issue