Backed out reactivity for Binding panel per discussion. Pending some UX discussion
This commit is contained in:
parent
b321eabb50
commit
e2c491ef96
|
@ -67,10 +67,6 @@
|
|||
let targetMode = null
|
||||
let expressionResult
|
||||
let evaluating = false
|
||||
let mounted = false
|
||||
|
||||
// Value updates must be reprocessed to avoid timing issues
|
||||
$: processUpdate(value, mounted)
|
||||
|
||||
$: useSnippets = allowSnippets && !$licensing.isFreePlan
|
||||
$: editorModeOptions = getModeOptions(allowHBS, allowJS)
|
||||
|
@ -98,13 +94,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
const processUpdate = value => {
|
||||
if (!mounted) return
|
||||
let isJS = value?.startsWith?.("{{ js ")
|
||||
jsValue = isJS ? value : null
|
||||
hbsValue = isJS ? null : value
|
||||
}
|
||||
|
||||
const getHBSCompletions = bindingCompletions => {
|
||||
return [
|
||||
hbAutocomplete([
|
||||
|
@ -277,8 +266,6 @@
|
|||
|
||||
// Set the initial side panel
|
||||
sidePanel = sidePanelOptions[0]
|
||||
|
||||
mounted = true
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue