mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE-114): update import paths from flock to production for recording components
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import RecordingForm from '@/components/pages/flock/recording/form/RecordingForm';
|
||||
import RecordingForm from '@/components/pages/production/recording/form/RecordingForm';
|
||||
|
||||
const AddRecording = () => {
|
||||
return (
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { useRouter, useSearchParams } from 'next/navigation';
|
||||
import useSWR from 'swr';
|
||||
import RecordingForm from '@/components/pages/flock/recording/form/RecordingForm';
|
||||
import RecordingForm from '@/components/pages/production/recording/form/RecordingForm';
|
||||
import { RecordingApi } from '@/services/api/production';
|
||||
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import { useRouter, useSearchParams } from 'next/navigation';
|
||||
import useSWR from 'swr';
|
||||
import RecordingForm from '@/components/pages/flock/recording/form/RecordingForm';
|
||||
import RecordingForm from '@/components/pages/production/recording/form/RecordingForm';
|
||||
import { RecordingApi } from '@/services/api/production';
|
||||
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import RecordingTable from '@/components/pages/flock/recording/RecordingTable';
|
||||
import RecordingTable from '@/components/pages/production/recording/RecordingTable';
|
||||
|
||||
const Recording = () => {
|
||||
return (
|
||||
|
||||
+2
-2
@@ -220,7 +220,7 @@ const RowOptionsMenu = ({
|
||||
)}
|
||||
>
|
||||
<Button
|
||||
href={`/flock/recording/detail/?recordingId=${props.row.original.id}`}
|
||||
href={`recording/detail/?recordingId=${props.row.original.id}`}
|
||||
variant='ghost'
|
||||
color='primary'
|
||||
className='justify-start text-sm'
|
||||
@@ -229,7 +229,7 @@ const RowOptionsMenu = ({
|
||||
Detail
|
||||
</Button>
|
||||
<Button
|
||||
href={`/flock/recording/detail/edit/?recordingId=${props.row.original.id}`}
|
||||
href={`recording/detail/edit/?recordingId=${props.row.original.id}`}
|
||||
variant='ghost'
|
||||
color='warning'
|
||||
className='justify-start text-sm'
|
||||
Reference in New Issue
Block a user