diff --git a/packages/client/src/components/app/GridBlock.svelte b/packages/client/src/components/app/GridBlock.svelte index 847f1e0768..801e1a4d0a 100644 --- a/packages/client/src/components/app/GridBlock.svelte +++ b/packages/client/src/components/app/GridBlock.svelte @@ -56,7 +56,7 @@ // We add a fake context binding in here, which allows us to pretend // that the grid provides a "schema" binding - that lets us use the // clicked row in things like save row actions - const enrichedContext = { ...get(context), [$component.id]: row } + const enrichedContext = { ...get(context), [get(component).id]: row } const fn = enrichButtonActions(settings.onClick, enrichedContext) return await fn?.({ row }) },