mirror of https://github.com/stashapp/stash.git
Fix scene editing of scenes with stash_ids (#1467)
This commit is contained in:
parent
1bb5de12e3
commit
c98cc73f33
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue