forked from AkkomaGang/akkoma-fe
Add option to hide filtered statuses
This commit is contained in:
parent
10c7365451
commit
7818d6786b
2 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ const Status = {
|
|||
: this.$store.state.config.hideFilteredStatuses
|
||||
},
|
||||
hideStatus () {
|
||||
return (!this.hideReply && !this.deleted) && !(this.muted && this.hideFilteredStatuses)
|
||||
return (this.hideReply || this.deleted) || (this.muted && this.hideFilteredStatuses)
|
||||
},
|
||||
isFocused () {
|
||||
// retweet or root of an expanded conversation
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="status-el" v-if="hideStatus" :class="[{ 'status-el_focused': isFocused }, { 'status-conversation': inlineExpanded }]">
|
||||
<div class="status-el" v-if="!hideStatus" :class="[{ 'status-el_focused': isFocused }, { 'status-conversation': inlineExpanded }]">
|
||||
<template v-if="muted && !noReplyLinks">
|
||||
<div class="media status container muted">
|
||||
<small>
|
||||
|
|
Loading…
Reference in a new issue