Browse Source

[Glitch] Fix reuse of detailed status components

Port 12a9813a0c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
closed-social-glitch-2
ThibG 4 years ago
committed by Thibaut Girka
parent
commit
5636c94fe9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/javascript/flavours/glitch/features/status/index.js

+ 2
- 0
app/javascript/flavours/glitch/features/status/index.js View File

@ -568,6 +568,7 @@ class Status extends ImmutablePureComponent {
<HotKeys handlers={handlers}>
<div className='focusable' tabIndex='0' aria-label={textForScreenReader(intl, status, false, !status.get('hidden'))}>
<DetailedStatus
key={`details-${status.get('id')}`}
status={status}
settings={settings}
onOpenVideo={this.handleOpenVideo}
@ -580,6 +581,7 @@ class Status extends ImmutablePureComponent {
/>
<ActionBar
key={`action-bar-${status.get('id')}`}
status={status}
onReply={this.handleReplyClick}
onFavourite={this.handleFavouriteClick}

Loading…
Cancel
Save