Skip to content

Commit

Permalink
enhancement: show response for open status (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
goenning committed Nov 11, 2018
1 parent a2c4a25 commit 05325f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/components/ShowPostResponse.tsx
Expand Up @@ -49,10 +49,10 @@ const StatusDetails = (props: PostResponseProps): JSX.Element | null => {
export const ShowPostResponse = (props: PostResponseProps): JSX.Element => {
const status = PostStatus.Get(props.status);

if (props.response && status.show) {
if (props.response && (status.show || props.response.text)) {
return (
<Segment className="l-response">
<ShowPostStatus status={status} />
{status.show && <ShowPostStatus status={status} />}
<Gravatar user={props.response.user} size="small" /> <UserName user={props.response.user} />
{status === PostStatus.Duplicate ? DuplicateDetails(props) : StatusDetails(props)}
</Segment>
Expand Down

0 comments on commit 05325f6

Please sign in to comment.