[Glitch] Fix UI crash in moderation interface when opening the media modal
Port 5241f7b2fd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
committed by
Claire
parent
d728222121
commit
4a1f4cb6a2
@@ -286,7 +286,7 @@ class MediaGallery extends React.PureComponent {
|
||||
};
|
||||
|
||||
handleClick = (index) => {
|
||||
this.props.onOpenMedia(this.props.media, index);
|
||||
this.props.onOpenMedia(this.props.media, index, this.props.lang);
|
||||
};
|
||||
|
||||
handleRef = (node) => {
|
||||
|
Reference in New Issue
Block a user