1
0
Fork 0
mirror of https://github.com/cheeaun/phanpy.git synced 2025-03-29 09:01:36 +01:00

Need to show media attachments even when status size=s

This is because status is optional when there are media attachments

So if the status is empty, there's nothing to show at all lololol
This commit is contained in:
Lim Chee Aun 2022-12-12 16:25:55 +08:00
parent 0ecc8b0bd7
commit f7571f6df1

View file

@ -727,7 +727,7 @@ function Status({
content content
</button> </button>
)} )}
{!!mediaAttachments.length && size !== 's' && ( {!!mediaAttachments.length && (
<div class="media-container"> <div class="media-container">
{mediaAttachments.map((media, i) => ( {mediaAttachments.map((media, i) => (
<Media <Media