mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-11 20:05:34 +00:00
Fix dispatch context name everywhere it's needed
This commit is contained in:
parent
b7340cb947
commit
0ffa48f901
10 changed files with 28 additions and 30 deletions
web-frontend/modules/builder/pages
|
@ -94,8 +94,8 @@ export default {
|
|||
dataSources() {
|
||||
return this.$store.getters['dataSource/getPageDataSources'](this.page)
|
||||
},
|
||||
backendContext() {
|
||||
return DataProviderType.getAllBackendContext(
|
||||
dispatchContext() {
|
||||
return DataProviderType.getAllDispatchContext(
|
||||
this.$registry.getAll('builderDataProvider'),
|
||||
this.applicationContext
|
||||
)
|
||||
|
@ -112,12 +112,12 @@ export default {
|
|||
'dataSourceContent/debouncedFetchPageDataSourceContent',
|
||||
{
|
||||
page: this.page,
|
||||
data: this.backendContext,
|
||||
data: this.dispatchContext,
|
||||
}
|
||||
)
|
||||
},
|
||||
},
|
||||
backendContext: {
|
||||
dispatchContext: {
|
||||
deep: true,
|
||||
/**
|
||||
* Update data source content on backend context changes
|
||||
|
|
|
@ -126,15 +126,15 @@ export default {
|
|||
mode: this.mode,
|
||||
}
|
||||
},
|
||||
backendContext() {
|
||||
return DataProviderType.getAllBackendContext(
|
||||
dispatchContext() {
|
||||
return DataProviderType.getAllDispatchContext(
|
||||
this.$registry.getAll('builderDataProvider'),
|
||||
this.applicationContext
|
||||
)
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
backendContext: {
|
||||
dispatchContext: {
|
||||
deep: true,
|
||||
/**
|
||||
* Update data source content on backend context changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue