1
0
Fork 0
mirror of synced 2024-08-15 10:01:34 +12:00

Fix error being thrown when attempting to change query parameters (#9782)

This commit is contained in:
Andrew Kingston 2023-02-23 08:09:18 +00:00 committed by GitHub
parent fcaf03fbb8
commit 8047a0fc4c

View file

@ -20,6 +20,12 @@
x =>
x._id !== BUDIBASE_INTERNAL_DB_ID && x.type !== BUDIBASE_DATASOURCE_TYPE
)
// Ensure query params exist so they can be bound
$: {
if (!parameters.queryParams) {
parameters.queryParams = {}
}
}
function fetchQueryDefinition(query) {
const source = $datasources.list.find(