From adfaf9551c817da83d955ac55e6791bb12ea894e Mon Sep 17 00:00:00 2001 From: ThibG Date: Sun, 1 Nov 2020 18:31:39 +0100 Subject: [Glitch] Fix some account media gallery items having empty labels Port 9d023ed4f6d8a69699d14479d5e12132ea4f4cd2 to glitch-soc Signed-off-by: Thibaut Girka --- .../flavours/glitch/features/account_gallery/components/media_item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/javascript/flavours/glitch') diff --git a/app/javascript/flavours/glitch/features/account_gallery/components/media_item.js b/app/javascript/flavours/glitch/features/account_gallery/components/media_item.js index 781bd4e03..7457980d2 100644 --- a/app/javascript/flavours/glitch/features/account_gallery/components/media_item.js +++ b/app/javascript/flavours/glitch/features/account_gallery/components/media_item.js @@ -122,7 +122,7 @@ export default class MediaItem extends ImmutablePureComponent {
{content} - {label} + {label && {label}}
); } -- cgit