mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-03-17 05:52:42 +00:00
Merge branch '3323-error-thrown-when-the-data-source-context-loads-and-one-or-more-integrations-have-been-deleted' into 'develop'
Resolve "Error thrown when the data source context loads, and one or more integrations have been deleted." Closes #3323 See merge request baserow/baserow!3027
This commit is contained in:
commit
131411104c
2 changed files with 9 additions and 2 deletions
changelog/entries/unreleased/bug
web-frontend/modules/integrations
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"type": "bug",
|
||||
"message": "[Builder] Resolved an error which was thrown when a data source's integration was destroyed.",
|
||||
"issue_number": 3323,
|
||||
"bullet_points": [],
|
||||
"created_at": "2024-12-30"
|
||||
}
|
|
@ -55,7 +55,7 @@ export class LocalBaserowTableServiceType extends ServiceType {
|
|||
'integration/getIntegrationById'
|
||||
](application, service.integration_id)
|
||||
|
||||
const databases = integration.context_data?.databases
|
||||
const databases = integration?.context_data?.databases || []
|
||||
|
||||
const tableSelected = databases
|
||||
.map((database) => database.tables)
|
||||
|
@ -268,7 +268,7 @@ export class LocalBaserowAggregateRowsServiceType extends LocalBaserowTableServi
|
|||
'integration/getIntegrationById'
|
||||
](application, service.integration_id)
|
||||
|
||||
const databases = integration.context_data?.databases
|
||||
const databases = integration?.context_data?.databases || []
|
||||
|
||||
const tableSelected = databases
|
||||
.map((database) => database.tables)
|
||||
|
|
Loading…
Reference in a new issue