From bc9f3dfa240b2a197859de006baf2eceaafe0fcf Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Thu, 23 Feb 2017 10:59:16 -0500 Subject: PLT-5394 fixing javascript when replying to a perma link. (#5515) --- webapp/components/rhs_thread.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp') diff --git a/webapp/components/rhs_thread.jsx b/webapp/components/rhs_thread.jsx index 1f3245bb8..3c0b2e114 100644 --- a/webapp/components/rhs_thread.jsx +++ b/webapp/components/rhs_thread.jsx @@ -415,7 +415,7 @@ export default class RhsThread extends React.Component { } let status = 'offline'; - if (this.state.statuses) { + if (this.state.statuses && p && p.id) { status = this.state.statuses[p.id] || 'offline'; } -- cgit v1.2.3-1-g7c22