mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Fix values being reset when changing mode (#4854)
This commit is contained in:
parent
dd84714a16
commit
1ffca39e1d
2 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ export const EditImagesDialog: React.FC<IListOperationProps> = (
|
|||
setExistingTagIds(updateTagIds);
|
||||
setExistingGalleryIds(updateGalleryIds);
|
||||
setOrganized(updateOrganized);
|
||||
}, [props.selected, performerMode, tagMode]);
|
||||
}, [props.selected]);
|
||||
|
||||
useEffect(() => {
|
||||
if (checkboxRef.current) {
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ export const EditScenesDialog: React.FC<IListOperationProps> = (
|
|||
setExistingTagIds(updateTagIds);
|
||||
setExistingMovieIds(updateMovieIds);
|
||||
setOrganized(updateOrganized);
|
||||
}, [props.selected, performerMode, tagMode, movieMode]);
|
||||
}, [props.selected]);
|
||||
|
||||
useEffect(() => {
|
||||
if (checkboxRef.current) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue