fix(FE): Update recording detail links to include production path

This commit is contained in:
rstubryan
2025-12-11 10:46:38 +07:00
parent a73f9a1acd
commit 69206d4524
@@ -55,7 +55,7 @@ const RowOptionsMenu = ({
return (
<RowOptionsMenuWrapper type={type}>
<Button
href={`recording/detail/?recordingId=${props.row.original.id}`}
href={`/production/recording/detail/?recordingId=${props.row.original.id}`}
variant='ghost'
color='primary'
className='justify-start text-sm'
@@ -64,7 +64,7 @@ const RowOptionsMenu = ({
Detail
</Button>
<Button
href={`recording/detail/edit/?recordingId=${props.row.original.id}`}
href={`/production/recording/detail/edit/?recordingId=${props.row.original.id}`}
variant='ghost'
color='warning'
className='justify-start text-sm'
@@ -510,7 +510,7 @@ const RecordingTable = () => {
<div className='w-full flex flex-col xl:flex-row justify-between items-end xl:items-center gap-2'>
<div className='w-full sm:w-fit flex flex-col sm:flex-row self-start gap-2'>
<Button
href='recording/add'
href='/production/recording/add'
variant='outline'
color='primary'
className='w-full sm:w-fit'