Skip to content

Commit 3618e2a

Browse files
committed
Use a Tooltip to display the submitter name in the event details tab
1 parent 954ef98 commit 3618e2a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/components/events/partials/ModalTabsAndPages/EventDetailsWorkflowTab.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import ButtonLikeAnchor from "../../../shared/ButtonLikeAnchor";
3232
import { formatWorkflowsForDropdown } from "../../../../utils/dropDownUtils";
3333
import { ParseKeys } from "i18next";
3434
import BaseButton from "../../../shared/BaseButton";
35+
import { Tooltip } from "../../../shared/Tooltip";
3536

3637
type InitialValues = {
3738
workflowDefinition: string;
@@ -203,9 +204,9 @@ const EventDetailsWorkflowTab = ({
203204
<td>{item.id}</td>
204205
<td>{item.title}</td>
205206
<td>
206-
{item.submitterName}
207-
{item.submitterEmail && (<>&lt;{item.submitterEmail}&gt;</>)}
208-
&nbsp;({item.submitter})
207+
<Tooltip title={item.submitterName}>
208+
<span>{item.submitter}</span>
209+
</Tooltip>
209210
</td>
210211
<td>
211212
{t("dateFormats.dateTime.medium", {

0 commit comments

Comments
 (0)