Allow edit of captioning job
This commit is contained in:
@@ -8,7 +8,6 @@ import { Button } from '@headlessui/react';
|
||||
import AddImagesModal, { openImagesModal, useOpenImagesModalOnDrag } from '@/components/AddImagesModal';
|
||||
import { TopBar, MainContent } from '@/components/layout';
|
||||
import { apiClient } from '@/utils/api';
|
||||
import { CaptionDatasetModal, openCaptionDatasetModal } from '@/components/CaptionDatasetModal';
|
||||
import useSettings from '@/hooks/useSettings';
|
||||
import { pathJoin } from '@/utils/basic';
|
||||
import AutoCaptionButton from '@/components/AutoCaptionButton';
|
||||
@@ -140,7 +139,6 @@ export default function DatasetPage({ params }: { params: { datasetName: string
|
||||
)}
|
||||
</MainContent>
|
||||
<AddImagesModal />
|
||||
<CaptionDatasetModal />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import { Suspense } from 'react';
|
||||
import AuthWrapper from '@/components/AuthWrapper';
|
||||
import DocModal from '@/components/DocModal';
|
||||
import os from 'os';
|
||||
import { CaptionDatasetModal } from '@/components/CaptionDatasetModal';
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
@@ -53,6 +54,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||
</ThemeProvider>
|
||||
<ConfirmModal />
|
||||
<DocModal />
|
||||
<CaptionDatasetModal />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user