diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-11-01 16:25:02 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2020-11-01 16:53:03 +0100 |
commit | b8e790c3c22693271a4fd74ce34067c462ebf8a3 (patch) | |
tree | 79522fc118be22aba186fe17ad8f20995536a177 /app | |
parent | 5a41704f8926d9594c66028ca30dc1fc0f98da3d (diff) |
Fix crash when viewing a profile with a filtered out pinned toot
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/containers/status_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/containers/status_container.js b/app/javascript/flavours/glitch/containers/status_container.js index ac423c58d..7782246a6 100644 --- a/app/javascript/flavours/glitch/containers/status_container.js +++ b/app/javascript/flavours/glitch/containers/status_container.js @@ -55,7 +55,7 @@ const makeMapStateToProps = () => { let account = undefined; let prepend = undefined; - if (props.featured) { + if (props.featured && status) { account = status.get('account'); prepend = 'featured'; } else if (reblogStatus !== null && typeof reblogStatus === 'object') { |