1
0
Fork 0

Revert "Remove DEV check"

This reverts commit d2fb86036c.
This commit is contained in:
Lim Chee Aun 2024-01-01 18:31:59 +08:00
parent d2fb86036c
commit b168707c14

View file

@ -295,7 +295,8 @@ function MediaModal({
<Icon icon="popout" />
<span>Open original media</span>
</MenuLink>
{!!states.settings.mediaAltGenerator &&
{import.meta.env.DEV && // Only dev for now
!!states.settings.mediaAltGenerator &&
!!IMG_ALT_API_URL &&
!!mediaAttachments[currentIndex]?.url &&
!mediaAttachments[currentIndex]?.description &&