Skip to content

Commit 9ff4063

Browse files
authored
fix: stop infinite /dispatch-data-sources/ refetch loop in application builder page editor (baserow#5252)
1 parent a52550d commit 9ff4063

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "bug",
3+
"message": "stop infinite `/dispatch-data-sources/` refetch loop in page editor",
4+
"issue_origin": "github",
5+
"issue_number": null,
6+
"domain": "builder",
7+
"bullet_points": [],
8+
"created_at": "2026-04-22"
9+
}

web-frontend/modules/builder/dataProviderTypes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ export class DataSourceContextDataProviderType extends DataProviderType {
311311
.getContextDataSchema(dataSource)
312312

313313
if (dsSchema) {
314-
dsSchema.order = index
314+
return [dataSource.id, { ...dsSchema, order: index }]
315315
}
316-
return [dataSource.id, dsSchema]
316+
return [dataSource.id, null]
317317
})
318318
.filter(([, schema]) => schema)
319319
)

0 commit comments

Comments
 (0)