Skip to content

Commit

Permalink
🐛 Update the formatting for incident name (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibolton336 authored Dec 4, 2023
1 parent d2ea8c1 commit f02c75b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/src/app/pages/issues/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,4 @@ export const parseReportLabels = (
export const getIssueTitle = (
issueReport: AnalysisRuleReport | AnalysisIssue | AnalysisIssueReport
) =>
issueReport?.description?.split("\n")[0] ||
issueReport?.name?.split("\n")[0] ||
"*Unnamed*";
issueReport?.description || issueReport?.name?.split("\n")[0] || "*Unnamed*";

0 comments on commit f02c75b

Please sign in to comment.