mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add selection and export for all list pages (#873)
* Include studios in movie export * Generalise cards * Add selection and export for movies * Refactor gallery card * Refactor export dialogs * Add performer selection and export * Add selection and export for studios * Add selection and export of tags * Include movie scenes and gallery images
This commit is contained in:
@@ -17,7 +17,7 @@ import { SceneListTable } from "./SceneListTable";
|
||||
import { EditScenesDialog } from "./EditScenesDialog";
|
||||
import { DeleteScenesDialog } from "./DeleteScenesDialog";
|
||||
import { SceneGenerateDialog } from "./SceneGenerateDialog";
|
||||
import { SceneExportDialog } from "./SceneExportDialog";
|
||||
import { ExportDialog } from "../Shared/ExportDialog";
|
||||
|
||||
interface ISceneList {
|
||||
filterHook?: (filter: ListFilterModel) => ListFilterModel;
|
||||
@@ -138,9 +138,13 @@ export const SceneList: React.FC<ISceneList> = ({
|
||||
if (isExportDialogOpen) {
|
||||
return (
|
||||
<>
|
||||
<SceneExportDialog
|
||||
selectedIds={Array.from(selectedIds.values())}
|
||||
all={isExportAll}
|
||||
<ExportDialog
|
||||
exportInput={{
|
||||
scenes: {
|
||||
ids: Array.from(selectedIds.values()),
|
||||
all: isExportAll,
|
||||
},
|
||||
}}
|
||||
onClose={() => {
|
||||
setIsExportDialogOpen(false);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user