mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Fix scene editing of scenes with stash_ids (#1467)
This commit is contained in:
@@ -108,7 +108,10 @@ export const SceneEditPanel: React.FC<IProps> = ({
|
||||
}),
|
||||
tag_ids: (scene.tags ?? []).map((t) => t.id),
|
||||
cover_image: undefined,
|
||||
stash_ids: scene.stash_ids ?? undefined,
|
||||
stash_ids: (scene.stash_ids ?? []).map((s) => ({
|
||||
stash_id: s.stash_id,
|
||||
endpoint: s.endpoint,
|
||||
})),
|
||||
};
|
||||
|
||||
type InputValues = typeof initialValues;
|
||||
|
||||
Reference in New Issue
Block a user