削除された投稿はタイムライン上で表示しないようにする (#2887)

* Excepts deleted notes on query

* Hide deleted notes

* Use v-show
This commit is contained in:
MeiMei 2018-10-12 05:10:40 +09:00 committed by syuilo
parent 9535759787
commit 1a689f6641
10 changed files with 16 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<template>
<div class="note" tabindex="-1" v-hotkey="keymap" :title="title">
<div class="note" v-show="p.deletedAt == null" tabindex="-1" v-hotkey="keymap" :title="title">
<div class="reply-to" v-if="p.reply && (!$store.getters.isSignedIn || $store.state.settings.showReplyTarget)">
<x-sub :note="p.reply"/>
</div>