fix: quoted notes opening when clicking CW button

This commit is contained in:
Mar0xy 2023-11-28 13:03:53 +01:00
parent 7e2cf4238f
commit 44fe3e4ebb
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828

View File

@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div>
<p v-if="note.cw != null" :class="$style.cw">
<Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :author="note.user" :nyaize="'respect'" :emojiUrls="note.emojis"/>
<MkCwButton v-model="showContent" :note="note"/>
<MkCwButton v-model="showContent" :note="note" v-on:click.stop/>
</p>
<div v-show="note.cw == null || showContent">
<MkSubNoteContent :hideFiles="hideFiles" :class="$style.text" :note="note"/>