Skip to content

Commit c68104d

Browse files
committed
update job event description
1 parent fc1d781 commit c68104d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/modules/activity/ActivityDescription.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,16 @@ export default function ActivityDescription({ event }: Props) {
653653
</div>
654654
);
655655

656+
/**
657+
* Jobs
658+
*/
659+
660+
if (event.activity_code == "peer.job.create")
661+
return (<div className={"inline"}>
662+
Remote job <Value>{m.job_type}</Value> created for peer <Value>{m.for_peer_name}</Value>
663+
</div>
664+
)
665+
656666
return (
657667
<div className={"flex gap-2.5 items-center"}>
658668
<span className={"mb-[1px]"}>{event.activity}</span>

src/modules/jobs/table/JobStatusCell.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ type Props = {
88

99
export default function JobStatusCell({ job }: Readonly<Props>) {
1010
const status = job.status;
11-
console.log({ status });
1211

1312
return (
1413
<div

0 commit comments

Comments
 (0)