aboutsummaryrefslogtreecommitdiff
path: root/src/components/conversation/conversation.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/conversation/conversation.vue')
-rw-r--r--src/components/conversation/conversation.vue15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue
index 84e8d8b2..99bc7bcc 100644
--- a/src/components/conversation/conversation.vue
+++ b/src/components/conversation/conversation.vue
@@ -31,6 +31,19 @@
<FAIcon icon="angle-double-left" />
</i18n>
</div>
+ <div
+ v-if="diveMode"
+ class="conversation-undive-box"
+ >
+ <i18n
+ path="status.return_to_last_showing"
+ tag="button"
+ class="button-unstyled -link"
+ @click.prevent="diveBack"
+ >
+ <FAIcon icon="chevron-left" />
+ </i18n>
+ </div>
<div v-if="isTreeView">
<thread-tree
v-for="status in showingTopLevel"
@@ -60,7 +73,7 @@
:status-content-properties="statusContentProperties"
:set-status-content-property="setStatusContentProperty"
:toggle-status-content-property="toggleStatusContentProperty"
- :dive="diveIntoStatus"
+ :dive="canDive ? diveIntoStatus : undefined"
/>
</div>
<div v-if="isLinearView">