diff --git a/packages/amis/src/renderers/Nav.tsx b/packages/amis/src/renderers/Nav.tsx index bb604cdf5..efc31b00c 100644 --- a/packages/amis/src/renderers/Nav.tsx +++ b/packages/amis/src/renderers/Nav.tsx @@ -591,7 +591,7 @@ export class Navigation extends React.Component< const label = typeof link.label === 'string' - ? link.label + ? filter(link.label, data) : React.isValidElement(link.label) ? React.cloneElement(link.label) : render('inline', link.label as SchemaCollection);