From 5b9bdadaec09142975bae53468eda91f8ea6064f Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Fri, 16 Feb 2024 12:37:49 +1100 Subject: [PATCH] Mount edit panels only when first entering (#4564) --- ui/v2.5/src/components/Galleries/GalleryDetails/Gallery.tsx | 2 +- ui/v2.5/src/components/Images/ImageDetails/Image.tsx | 2 +- ui/v2.5/src/components/Scenes/SceneDetails/Scene.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/v2.5/src/components/Galleries/GalleryDetails/Gallery.tsx b/ui/v2.5/src/components/Galleries/GalleryDetails/Gallery.tsx index 291aae16b..e827f80a5 100644 --- a/ui/v2.5/src/components/Galleries/GalleryDetails/Gallery.tsx +++ b/ui/v2.5/src/components/Galleries/GalleryDetails/Gallery.tsx @@ -264,7 +264,7 @@ export const GalleryPage: React.FC = ({ gallery, add }) => { isVisible={activeTabKey === "gallery-chapter-panel"} /> - + = ({ image }) => { > - + import("./QueueViewer")); const SceneMarkersPanel = lazyComponent(() => import("./SceneMarkersPanel")); const SceneFileInfoPanel = lazyComponent(() => import("./SceneFileInfoPanel")); -const SceneEditPanel = lazyComponent(() => import("./SceneEditPanel")); const SceneDetailPanel = lazyComponent(() => import("./SceneDetailPanel")); const SceneMoviePanel = lazyComponent(() => import("./SceneMoviePanel")); const SceneGalleriesPanel = lazyComponent( @@ -479,7 +479,7 @@ const ScenePage: React.FC = ({ - +