From 3139da6b21f7d8b6b339478569ee09d3025146ac Mon Sep 17 00:00:00 2001 From: Jeffrey Horton Date: Mon, 19 Feb 2024 15:20:33 +0000 Subject: [PATCH] [ASL-4474] Add snippet context to model summary --- src/model-summary/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/model-summary/index.jsx b/src/model-summary/index.jsx index 94fb93e7..96a3b3c1 100644 --- a/src/model-summary/index.jsx +++ b/src/model-summary/index.jsx @@ -29,9 +29,10 @@ const ModelSummary = ({ model, schema, formatters = {}, className, formatNullVal { map(fields, (item, key) => { const options = schema[key] || {}; + const snippetProps = formatters[key]?.renderContext ?? {}; return ( -
{`fields.${key}.label`}
+
{`fields.${key}.label`}