[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)} />;
};