Skip to content

Commit b461b0e

Browse files
committed
Fix: Update ColonyActionTable header to include custom decision title
Fix: Update ColonyActionTable header to include custom decision title
1 parent 8cbeffa commit b461b0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/common/ColonyActionsTable/partials/ActionDescription/ActionDescription.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const ActionDescription: FC<ActionDescriptionProps> = ({
2525
initiatorUser: user,
2626
initiatorAddress,
2727
metadata,
28+
decisionData,
2829
isMotion,
2930
motionData,
3031
motionState,
@@ -94,7 +95,10 @@ const ActionDescription: FC<ActionDescriptionProps> = ({
9495
},
9596
)}
9697
>
97-
{metadata?.customTitle || actionMetadataDescription || '-'}
98+
{metadata?.customTitle ||
99+
decisionData?.title ||
100+
actionMetadataDescription ||
101+
'-'}
98102
</p>
99103
{colony && (
100104
<p

0 commit comments

Comments
 (0)