diff --git a/src/components/media-modal.jsx b/src/components/media-modal.jsx index 968988bf..8508fe2b 100644 --- a/src/components/media-modal.jsx +++ b/src/components/media-modal.jsx @@ -295,8 +295,7 @@ function MediaModal({ Open original media - {import.meta.env.DEV && // Only dev for now - !!states.settings.mediaAltGenerator && + {!!states.settings.mediaAltGenerator && !!IMG_ALT_API_URL && !!mediaAttachments[currentIndex]?.url && !mediaAttachments[currentIndex]?.description &&