aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/conversation/conversation.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js
index 3cc5f886..4c429161 100644
--- a/src/components/conversation/conversation.js
+++ b/src/components/conversation/conversation.js
@@ -334,8 +334,7 @@ const conversation = {
if (value) {
this.fetchConversation()
} else {
- // if we collapse it, we should reset the dive
- this.undive()
+ this.resetDisplayState()
}
},
virtualHidden (value) {
@@ -492,6 +491,10 @@ const conversation = {
parent = this.parentOf(parent)
}
return cur
+ },
+ resetDisplayState () {
+ this.undive()
+ this.threadDisplayStatusObject = {}
}
}
}