Fix error being thrown when attempting to change query parameters (#9782)
This commit is contained in:
parent
fcaf03fbb8
commit
8047a0fc4c
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@
|
||||||
x =>
|
x =>
|
||||||
x._id !== BUDIBASE_INTERNAL_DB_ID && x.type !== BUDIBASE_DATASOURCE_TYPE
|
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) {
|
function fetchQueryDefinition(query) {
|
||||||
const source = $datasources.list.find(
|
const source = $datasources.list.find(
|
||||||
|
|
Loading…
Reference in a new issue