削除された投稿はタイムライン上で表示しないようにする (#2887)
* Excepts deleted notes on query * Hide deleted notes * Use v-show
This commit is contained in:
parent
9535759787
commit
1a689f6641
10 changed files with 16 additions and 3 deletions
|
@ -45,6 +45,8 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
|||
|
||||
// Construct query
|
||||
const query = {
|
||||
deletedAt: null,
|
||||
|
||||
$or: [{
|
||||
mentions: user._id
|
||||
}, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue