mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
parent
d2fb86036c
commit
b168707c14
1 changed files with 2 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue