diff --git a/app/components/embassy/allianceTab.tsx b/app/components/embassy/allianceTab.tsx index 79584409..3f22a91d 100644 --- a/app/components/embassy/allianceTab.tsx +++ b/app/components/embassy/allianceTab.tsx @@ -118,29 +118,31 @@ const AllianceTab: React.FunctionComponent = ({ building, alliance, isLea ) : ( <> -

+

Description: {alliance.description} -

+
{alliance.forum_uri && ( -

+

Forums:{' '} {alliance.forum_uri} -

+
)} -
- Announcements: - {/* - The legacy client did a string replace of '\n', which only converts the first - newline. Splitting handles all of them. - */} - {(alliance.announcements ?? '').split('\n').map((line) => ( -

{line}

- ))} -
+ {alliance.announcements ? ( +
+ Announcements: + {/* + The legacy client did a string replace of '\n', which only converts the first + newline. Splitting handles all of them. + */} + {(alliance.announcements ?? '').split('\n').map((line) => ( +

{line}

+ ))} +
+ ) : undefined}