From 5636c94fe911f670a0f51d63c915c722daf24df5 Mon Sep 17 00:00:00 2001 From: ThibG <thib@sitedethib.com> Date: Mon, 6 Jan 2020 18:22:17 +0100 Subject: [PATCH] [Glitch] Fix reuse of detailed status components Port 12a9813a0cc269d7b7c72095e279f70ddb7bec6e to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com> --- app/javascript/flavours/glitch/features/status/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/javascript/flavours/glitch/features/status/index.js b/app/javascript/flavours/glitch/features/status/index.js index 322f92477..411d2a88d 100644 --- a/app/javascript/flavours/glitch/features/status/index.js +++ b/app/javascript/flavours/glitch/features/status/index.js @@ -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}