Merge branch 'master' into chore/remove-sentry-references
This commit is contained in:
commit
0894353cc9
|
@ -23,5 +23,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#key $params.datasourceId}
|
{#key $params.datasourceId}
|
||||||
<slot />
|
{#if $datasources.selected}
|
||||||
|
<slot />
|
||||||
|
{/if}
|
||||||
{/key}
|
{/key}
|
||||||
|
|
|
@ -16,8 +16,7 @@
|
||||||
let selectedPanel = null
|
let selectedPanel = null
|
||||||
let panelOptions = []
|
let panelOptions = []
|
||||||
|
|
||||||
// datasources.selected can return null temporarily on datasource deletion
|
$: datasource = $datasources.selected
|
||||||
$: datasource = $datasources.selected || {}
|
|
||||||
|
|
||||||
$: getOptions(datasource)
|
$: getOptions(datasource)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue