From 0468e066ff363e2fafb72e10077e7e84aa85c989 Mon Sep 17 00:00:00 2001 From: Dakshesh Jain Date: Wed, 16 Aug 2023 17:58:25 +0530 Subject: [PATCH] style: displaying label color on issue activity --- apps/app/components/core/activity.tsx | 40 +++++++++++++++++++-------- 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/apps/app/components/core/activity.tsx b/apps/app/components/core/activity.tsx index 7ddf9c33c..91f22d01e 100644 --- a/apps/app/components/core/activity.tsx +++ b/apps/app/components/core/activity.tsx @@ -53,7 +53,11 @@ const UserLink = ({ activity }: { activity: IIssueActivity }) => { const activityDetails: { [key: string]: { - message: (activity: IIssueActivity, showIssue: boolean) => React.ReactNode; + message: ( + activity: IIssueActivity, + showIssue: boolean, + backgroundColor?: string + ) => React.ReactNode; icon: React.ReactNode; }; } = { @@ -253,7 +257,7 @@ const activityDetails: { icon: