mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
Fix values being reset when changing mode (#4854)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user