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 = () => {
|
const AddRecording = () => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { useRouter, useSearchParams } from 'next/navigation';
|
import { useRouter, useSearchParams } from 'next/navigation';
|
||||||
import useSWR from 'swr';
|
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 { RecordingApi } from '@/services/api/production';
|
||||||
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
|
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { useRouter, useSearchParams } from 'next/navigation';
|
import { useRouter, useSearchParams } from 'next/navigation';
|
||||||
import useSWR from 'swr';
|
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 { RecordingApi } from '@/services/api/production';
|
||||||
import { isResponseError, isResponseSuccess } from '@/lib/api-helper';
|
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 = () => {
|
const Recording = () => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
+2
-2
@@ -220,7 +220,7 @@ const RowOptionsMenu = ({
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
href={`/flock/recording/detail/?recordingId=${props.row.original.id}`}
|
href={`recording/detail/?recordingId=${props.row.original.id}`}
|
||||||
variant='ghost'
|
variant='ghost'
|
||||||
color='primary'
|
color='primary'
|
||||||
className='justify-start text-sm'
|
className='justify-start text-sm'
|
||||||
@@ -229,7 +229,7 @@ const RowOptionsMenu = ({
|
|||||||
Detail
|
Detail
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
href={`/flock/recording/detail/edit/?recordingId=${props.row.original.id}`}
|
href={`recording/detail/edit/?recordingId=${props.row.original.id}`}
|
||||||
variant='ghost'
|
variant='ghost'
|
||||||
color='warning'
|
color='warning'
|
||||||
className='justify-start text-sm'
|
className='justify-start text-sm'
|
||||||
Reference in New Issue
Block a user