docs link

This commit is contained in:
Martin McKeaveney 2021-01-18 17:01:41 +00:00
parent 98f32d96d3
commit 72c5b173b6
1 changed files with 9 additions and 0 deletions

View File

@ -59,6 +59,7 @@
$: datasourceType = datasource?.source $: datasourceType = datasource?.source
$: config = $backendUiStore.integrations[datasourceType]?.query $: config = $backendUiStore.integrations[datasourceType]?.query
$: docsLink = $backendUiStore.integrations[datasourceType]?.docs
$: shouldShowQueryConfig = config && query.queryVerb && query.queryType $: shouldShowQueryConfig = config && query.queryVerb && query.queryType
@ -150,6 +151,10 @@
{/each} {/each}
</Select> </Select>
{/if} {/if}
<Spacer medium />
<Button primary href={docsLink} target="_blank">
<i class="ri-book-2-line" />
</Button>
{/if} {/if}
</header> </header>
@ -222,6 +227,10 @@
margin-bottom: var(--spacing-m); margin-bottom: var(--spacing-m);
} }
a {
font-size: var(--font-size-s);
}
.config { .config {
margin-bottom: var(--spacing-s); margin-bottom: var(--spacing-s);
} }