Fix showingLongSubject not correctly propagated

This commit is contained in:
Tusooa Zhu 2021-11-22 11:20:22 -05:00
parent f8c5cbcd0d
commit 5768806d1b
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
1 changed files with 2 additions and 2 deletions

View File

@ -17,14 +17,14 @@
<button <button
v-if="longSubject && showingLongSubject" v-if="longSubject && showingLongSubject"
class="button-unstyled -link tall-subject-hider" class="button-unstyled -link tall-subject-hider"
@click.prevent="showingLongSubject=false" @click.prevent="toggleShowingLongSubject"
> >
{{ $t("status.hide_full_subject") }} {{ $t("status.hide_full_subject") }}
</button> </button>
<button <button
v-else-if="longSubject" v-else-if="longSubject"
class="button-unstyled -link tall-subject-hider" class="button-unstyled -link tall-subject-hider"
@click.prevent="showingLongSubject=true" @click.prevent="toggleShowingLongSubject"
> >
{{ $t("status.show_full_subject") }} {{ $t("status.show_full_subject") }}
</button> </button>