diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2021-08-07 00:33:06 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-07 19:19:29 -0500 |
| commit | 0f2fd8a3523e9e2cd1ca6fe287eb7304895f2cba (patch) | |
| tree | 1d5f2d3acd75161b61aabf6497f05052698373b2 /src/components/status/status.vue | |
| parent | 0582f19e7c2c6f916b427d5ecfbbb571178ce841 (diff) | |
Implement thread folding/expanding
Diffstat (limited to 'src/components/status/status.vue')
| -rw-r--r-- | src/components/status/status.vue | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 3bb29db6..2ebf5638 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -219,6 +219,19 @@ class="fa-scale-110" /> </button> + <button + v-if="inThreadForest && replies && replies.length" + class="button-unstyled" + :title="threadShowing ? $t('status.thread_hide') : $t('status.thread_show')" + :aria-expanded="threadShowing ? 'true' : 'false'" + @click.prevent="toggleThreadDisplay" + > + <FAIcon + fixed-width + class="fa-scale-110" + :icon="threadShowing ? 'angle-double-up' : 'angle-double-down'" + /> + </button> </span> </div> <div |
