fix datasource select issue
This commit is contained in:
parent
45a2e5cf46
commit
b4ba2589a2
|
@ -10,7 +10,7 @@
|
||||||
} from "@budibase/bbui"
|
} from "@budibase/bbui"
|
||||||
import { createEventDispatcher } from "svelte"
|
import { createEventDispatcher } from "svelte"
|
||||||
import { store, currentAsset } from "builderStore"
|
import { store, currentAsset } from "builderStore"
|
||||||
import { tables as tablesStore } from 'builderStore/store/backend/'
|
import { tables as tablesStore, queries as queriesStore } from 'builderStore/store/backend/'
|
||||||
import { datasources, integrations } from 'builderStore/store/backend/'
|
import { datasources, integrations } from 'builderStore/store/backend/'
|
||||||
import { notifier } from "builderStore/store/notifications"
|
import { notifier } from "builderStore/store/notifications"
|
||||||
import ParameterBuilder from "components/integration/QueryParameterBuilder.svelte"
|
import ParameterBuilder from "components/integration/QueryParameterBuilder.svelte"
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
}))
|
}))
|
||||||
return [...acc, ...viewsArr]
|
return [...acc, ...viewsArr]
|
||||||
}, [])
|
}, [])
|
||||||
$: queries = $queries.list
|
$: queries = $queriesStore.list
|
||||||
.filter(
|
.filter(
|
||||||
query => showAllQueries || query.queryVerb === "read" || query.readable
|
query => showAllQueries || query.queryVerb === "read" || query.readable
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue