Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

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

Prateek Shouryab5ceb94fb211
diff --git a/web/core/components/inbox/inbox-status-icon.tsx b/web/core/components/inbox/inbox-status-icon.tsx
index 03c6acd6ce..492ee504fc 100644
--- a/web/core/components/inbox/inbox-status-icon.tsx
+++ b/web/core/components/inbox/inbox-status-icon.tsx
@@ -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)} />;
};