FIX: Error in test mode with missing `topic`
This commit is contained in:
parent
f68ea29236
commit
6e94f28cf0
|
@ -114,7 +114,7 @@ export default DropdownSelectBoxComponent.extend({
|
||||||
if (
|
if (
|
||||||
this.action !== CREATE_TOPIC &&
|
this.action !== CREATE_TOPIC &&
|
||||||
this.action !== CREATE_SHARED_DRAFT &&
|
this.action !== CREATE_SHARED_DRAFT &&
|
||||||
!(this.action === REPLY && this.topic.isPrivateMessage) &&
|
!(this.action === REPLY && this.topic && this.topic.isPrivateMessage) &&
|
||||||
!this.isEditing &&
|
!this.isEditing &&
|
||||||
_topicSnapshot
|
_topicSnapshot
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue