1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Fix merge

This commit is contained in:
Andrew Kingston 2024-03-11 16:21:07 +00:00
parent 1a8a649be4
commit cef0911950

View file

@ -172,16 +172,8 @@
const updateValue = val => {
const runtimeExpression = readableToRuntimeBinding(enrichedBindings, val)
<<<<<<< HEAD
valid = isValid(runtimeExpression)
if (valid) {
dispatch("change", val)
requestEval(runtimeExpression, context, snippets)
}
=======
dispatch("change", val)
requestUpdateEvaluation(runtimeExpression, context)
>>>>>>> fe12a8606438d41437e21729068b91038ba6df37
requestEval(runtimeExpression, context, snippets)
}
const onSelectHelper = (helper, js) => {
@ -232,7 +224,6 @@
jsValue = encodeJSBinding(e.detail)
updateValue(jsValue)
}
<<<<<<< HEAD
onMount(() => {
// Set the initial mode appropriately
@ -245,12 +236,7 @@
// Set the initial side panel
sidePanel = sidePanelOptions[0]
// Determine if our initial value is valid
valid = isValid(readableToRuntimeBinding(enrichedBindings, value))
})
=======
>>>>>>> fe12a8606438d41437e21729068b91038ba6df37
</script>
<DrawerContent padding={false}>