mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +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);
|
setExistingTagIds(updateTagIds);
|
||||||
setExistingGalleryIds(updateGalleryIds);
|
setExistingGalleryIds(updateGalleryIds);
|
||||||
setOrganized(updateOrganized);
|
setOrganized(updateOrganized);
|
||||||
}, [props.selected, performerMode, tagMode]);
|
}, [props.selected]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (checkboxRef.current) {
|
if (checkboxRef.current) {
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ export const EditScenesDialog: React.FC<IListOperationProps> = (
|
||||||
setExistingTagIds(updateTagIds);
|
setExistingTagIds(updateTagIds);
|
||||||
setExistingMovieIds(updateMovieIds);
|
setExistingMovieIds(updateMovieIds);
|
||||||
setOrganized(updateOrganized);
|
setOrganized(updateOrganized);
|
||||||
}, [props.selected, performerMode, tagMode, movieMode]);
|
}, [props.selected]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (checkboxRef.current) {
|
if (checkboxRef.current) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue