FIX: Wenn kein Name angegeben ist, wird nun auch nichts angezeigt, anstelle von null
This commit is contained in:
parent
aec9db2a76
commit
04dca26d00
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/* Page-specific styles for ModerationPage */
|
||||
.moderation-page { font-family: roboto; max-width: 1200px; margin: 0 auto; padding: 20px; }
|
||||
.moderation-content h1 { font-family: roboto; text-align:center; color:#333; margin-bottom:30px; }
|
||||
.moderation-content h1 { font-family: roboto; text-align:left; color:#333; margin-bottom:30px; }
|
||||
.moderation-loading, .moderation-error { text-align:center; padding:50px; font-size:18px; }
|
||||
.moderation-error { color:#dc3545; }
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,8 @@ const ImageGalleryCard = ({
|
|||
previewUrl = getGroupPreviewSrc(group, true);
|
||||
|
||||
title = group.title;
|
||||
subtitle = `${group.year} • ${group.name}`;
|
||||
// Only show name if it exists and is not empty/null/undefined
|
||||
subtitle = (group.name && group.name !== 'null') ? `${group.year} • ${group.name}` : `${group.year}`;
|
||||
description = group.description;
|
||||
uploadDate = group.uploadDate;
|
||||
imageCount = group.imageCount;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user