File tree 1 file changed +4
-4
lines changed
src/people/WorkSpacePlanner
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -283,11 +283,11 @@ const WorkspacePlanner = observer(() => {
283
283
{ }
284
284
) ;
285
285
286
- const handleCardClick = ( bountyId : string , status ?: BountyCardStatus , ticketGroup ?: string ) => {
286
+ const handleCardClick = ( bountyId : string , status ?: BountyCardStatus , ticket_uuid ?: string ) => {
287
287
bountyCardStore . saveFilterState ( ) ;
288
- if ( status === 'DRAFT' && ticketGroup ) {
288
+ if ( status === 'DRAFT' && ticket_uuid ) {
289
289
const ticketUrl = history . createHref ( {
290
- pathname : `/workspace/${ uuid } /ticket/${ ticketGroup } ` ,
290
+ pathname : `/workspace/${ uuid } /ticket/${ ticket_uuid } ` ,
291
291
state : { from : `/workspace/${ uuid } /planner` }
292
292
} ) ;
293
293
console . log ( 'Opening ticket URL:' , ticketUrl ) ;
@@ -353,7 +353,7 @@ const WorkspacePlanner = observer(() => {
353
353
< BountyCardComp
354
354
key = { card . id }
355
355
{ ...card }
356
- onclick = { ( ) => handleCardClick ( card . id , card . status , card . ticket_group ) }
356
+ onclick = { ( ) => handleCardClick ( card . id , card . status , card . ticket_uuid ) }
357
357
/>
358
358
) )
359
359
) }
You can’t perform that action at this time.
0 commit comments