MM-30185 Fix bad permalink reference for saved posts screen (#4938) (#4940)

(cherry picked from commit 91ff9b7480)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2020-11-02 17:56:29 +01:00 committed by GitHub
parent 94d5501d05
commit a239773ffb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,9 +112,10 @@ export default class FlaggedPosts extends PureComponent {
keyExtractor = (item) => item;
previewPost = (post) => {
const {showPermalink} = this.props.actions;
Keyboard.dismiss();
this.showPermalinkView(post.id, false);
showPermalink(this.context.intl, '', post.id, false);
};
renderEmpty = () => {