Skip to content

Commit 01053bd

Browse files
committed
feat: update category reference to use name instead of catid in deal and task details
1 parent 8c2aab0 commit 01053bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modules/deals/deal/buildDealDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function buildDealDetails({
6262
),
6363
value: (
6464
<p>
65-
{deal.category.catid}{' '}
65+
{deal.category.name}{' '}
6666
{deal.category.description.length < 0
6767
? deal.category.description
6868
: ''}{' '}

src/modules/tasks/task/buildTaskDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function buildTaskDetails({ task }: { task: TaskQuery['task'] }) {
5858
),
5959
value: (
6060
<p>
61-
{task.deal.category.catid}{' '}
61+
{task.deal.category.name}{' '}
6262
{task.deal.category.description.length < 0
6363
? task.deal.category.description
6464
: ''}{' '}

0 commit comments

Comments
 (0)