fix when no helpContent avaliable

This commit is contained in:
Tim Chamberlain
2025-06-03 17:27:11 -05:00
parent c70ef3dae8
commit 633c97b710

View File

@ -346,7 +346,7 @@ function FilterCriteriaPaster({table, field, type, onSave}: Props): JSX.Element
const slotName = type === "pvs" ? "bulkAddFilterValuesPossibleValueSource" : "bulkAddFilterValues";
const helpRoles = ["QUERY_SCREEN"];
const formattedHelpContent = <HelpContent helpContents={metaData?.helpContent.get(slotName)} roles={helpRoles} heading={null} helpContentKey={`instanceLevel:true;slot:${slotName}`} />;
const formattedHelpContent = <HelpContent helpContents={metaData?.helpContent?.get(slotName)} roles={helpRoles} heading={null} helpContentKey={`instanceLevel:true;slot:${slotName}`} />;
return (
<Box>