mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
parent
d2fb86036c
commit
b168707c14
1 changed files with 2 additions and 1 deletions
|
@ -295,7 +295,8 @@ function MediaModal({
|
||||||
<Icon icon="popout" />
|
<Icon icon="popout" />
|
||||||
<span>Open original media</span>
|
<span>Open original media</span>
|
||||||
</MenuLink>
|
</MenuLink>
|
||||||
{!!states.settings.mediaAltGenerator &&
|
{import.meta.env.DEV && // Only dev for now
|
||||||
|
!!states.settings.mediaAltGenerator &&
|
||||||
!!IMG_ALT_API_URL &&
|
!!IMG_ALT_API_URL &&
|
||||||
!!mediaAttachments[currentIndex]?.url &&
|
!!mediaAttachments[currentIndex]?.url &&
|
||||||
!mediaAttachments[currentIndex]?.description &&
|
!mediaAttachments[currentIndex]?.description &&
|
||||||
|
|
Loading…
Reference in a new issue