lint
This commit is contained in:
parent
feca6cc962
commit
65abd63744
|
@ -49,7 +49,7 @@
|
|||
$: queryConfig = integrationInfo?.query
|
||||
$: shouldShowQueryConfig = queryConfig && query.queryVerb
|
||||
$: readQuery = query.queryVerb === "read" || query.readable
|
||||
$: queryInvalid = !query.name || (readQuery && data.length === 0)
|
||||
$: queryInvalid = !query.name || (readQuery && data.length === 0)
|
||||
|
||||
function newField() {
|
||||
fields = [...fields, {}]
|
||||
|
@ -152,11 +152,7 @@
|
|||
<div class="viewer-controls">
|
||||
<Heading size="S">Results</Heading>
|
||||
<ButtonGroup>
|
||||
<Button
|
||||
cta
|
||||
disabled={queryInvalid}
|
||||
on:click={saveQuery}
|
||||
>
|
||||
<Button cta disabled={queryInvalid} on:click={saveQuery}>
|
||||
Save Query
|
||||
</Button>
|
||||
<Button secondary on:click={previewQuery}>Run Query</Button>
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
|
||||
let fieldState
|
||||
let fieldApi
|
||||
|
||||
// $: if (fieldApi && $fieldState.value === null) fieldApi.setValue(false)
|
||||
</script>
|
||||
|
||||
<Field
|
||||
|
|
Loading…
Reference in New Issue