[WEB-3930] fix: application crash on accessing intake work items (#6958)

This commit is contained in:
Prateek Shourya
2025-04-23 15:12:54 +05:30
committed by GitHub
parent feb6243065
commit b5ceb94fb2

View File

@@ -42,5 +42,6 @@ export const InboxStatusIcon = ({
}) => {
if (type === undefined) return null;
const Icon = ICON_PROPERTIES[type];
if (!Icon) return null;
return <Icon.icon size={size} className={cn(`w-3 h-3 ${renderColor && Icon?.textColor(false)}`, className)} />;
};