Skip to content

Commit

Permalink
fix: update hardcoded event change type
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Jan 7, 2024
1 parent 8e2acbc commit a58a1ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function EventsList({ consultation }: Props) {
.join(" ") + " Event"
}
event={{
type: "created",
type: item.change_type.replace(/_/g, " ").toLowerCase(),
timestamp: item.created_date?.toString() ?? "",
by: item.caused_by,
icon: getEventIcon(item.event_type.name),
Expand Down

0 comments on commit a58a1ae

Please sign in to comment.