Merge pull request #12962 from Budibase/fix/binding-issues

Fix table slots providing global context rather than local context
This commit is contained in:
Andrew Kingston 2024-02-06 09:32:59 +00:00 committed by GitHub
commit 116e1fa7d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@
export let row
const { Provider } = getContext("sdk")
const { Provider, ContextScopes } = getContext("sdk")
</script>
<Provider data={row}>
<Provider data={row} scope={ContextScopes.Local}>
<slot />
</Provider>