Skip to content

Commit

Permalink
Fix storyviewer title for groups
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebuilds-signal committed Sep 15, 2022
1 parent 3b33ec7 commit 51f7034
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ts/components/StoryViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -584,12 +584,12 @@ export const StoryViewer = ({
/>
)}
<div className="StoryViewer__meta--title">
{group
? i18n('Stories__from-to-group', {
name: title,
group: group.title,
})
: title}
{(group &&
i18n('Stories__from-to-group', {
name: isMe ? i18n('you') : title,
group: group.title,
})) ||
(isMe ? i18n('you') : title)}
</div>
<MessageTimestamp
i18n={i18n}
Expand Down

0 comments on commit 51f7034

Please sign in to comment.