fix import

This commit is contained in:
Martin McKeaveney 2021-10-21 16:04:00 +01:00
parent 3b3862bd01
commit 2c5285006d
4 changed files with 58 additions and 2171 deletions

View File

@ -4,7 +4,6 @@
import { Select } from "@budibase/bbui" import { Select } from "@budibase/bbui"
import DrawerBindableInput from "../../common/bindings/DrawerBindableInput.svelte" import DrawerBindableInput from "../../common/bindings/DrawerBindableInput.svelte"
import AutomationBindingPanel from "../../common/bindings/ServerBindingPanel.svelte" import AutomationBindingPanel from "../../common/bindings/ServerBindingPanel.svelte"
import { createEventDispatcher } from "svelte"
const dispatch = createEventDispatcher() const dispatch = createEventDispatcher()
@ -23,6 +22,9 @@
$: query = $queries.list.find(query => query._id === value?.queryId) $: query = $queries.list.find(query => query._id === value?.queryId)
$: parameters = query?.parameters ?? [] $: parameters = query?.parameters ?? []
// Ensure any nullish queryId values get set to empty string so
// that the select works
$: if (value?.queryId == null) value = { queryId: "" }
</script> </script>
<div class="block-field"> <div class="block-field">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff