diff --git a/client/src/MainLayout/index.jsx b/client/src/MainLayout/index.jsx index 08ab129..355f6e4 100644 --- a/client/src/MainLayout/index.jsx +++ b/client/src/MainLayout/index.jsx @@ -185,7 +185,8 @@ export const MainLayout = ({ !nextImage || (nextImage.regions && nextImage.regions.length > 0) const selectedImages = state.images.filter((image) => image.selected) const hasRegions = state.images[state.selectedImage]?.regions?.length > 0 - const disableRegion = hasRegions ? false : !state.hasNewChange + const disableRegion = !(state.images.length > 0 && state.regionClsList.length > 0); // enable save button for all cases + // hasRegions ? false : !state.hasNewChange return (