diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2021-08-07 14:11:34 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-07 19:19:29 -0500 |
| commit | d15d24c11c57ecfc49705af648b1e8f73caec51e (patch) | |
| tree | f03cc73bf61732b3257154dc2eb3e81d3e378393 /src/components/conversation/conversation.vue | |
| parent | 31c4300456192582786a7f5da420f7ce834a3e2b (diff) | |
Add dive functionality
Diffstat (limited to 'src/components/conversation/conversation.vue')
| -rw-r--r-- | src/components/conversation/conversation.vue | 15 |
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"> |
