Remove unnecessary assignment to datasource

This commit is contained in:
Rory Powell 2021-12-14 11:42:41 +00:00
parent 4276fcd711
commit 9581c1d381
1 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,7 @@
let importQueriesModal let importQueriesModal
let changed let changed
let datasource
const querySchema = { const querySchema = {
name: {}, name: {},
queryVerb: { displayName: "Method" }, queryVerb: { displayName: "Method" },
@ -32,7 +33,6 @@
$: baseDatasource = $datasources.list.find( $: baseDatasource = $datasources.list.find(
ds => ds._id === $datasources.selected ds => ds._id === $datasources.selected
) )
$: datasource = cloneDeep(datasource)
$: integration = datasource && $integrations[datasource.source] $: integration = datasource && $integrations[datasource.source]
$: { $: {
if ( if (