1
0
Fork 0
mirror of synced 2024-09-12 23:43:09 +12:00

Move grid block provider top level since nesting doesn't matter

This commit is contained in:
Andrew Kingston 2024-05-13 13:50:37 +01:00
parent 9a0f747c3e
commit a5f627e320

View file

@ -145,7 +145,6 @@
<div use:styleable={styles} class:in-builder={$builderStore.inBuilder}>
<span style="--height:{height};">
<Provider {data} {actions}>
<Grid
bind:this={grid}
datasource={table}
@ -170,10 +169,11 @@
buttons={enrichedButtons}
on:rowclick={e => onRowClick?.({ row: e.detail })}
/>
</Provider>
</span>
</div>
<Provider {data} {actions} />
<style>
div {
display: flex;