hide mandatory CWs when "uncollapse CWs on notes" is enabled
This commit is contained in:
parent
97371bd893
commit
b3428480de
2 changed files with 33 additions and 18 deletions
|
|
@ -125,7 +125,11 @@ function expand() {
|
|||
emit('expandMute', props.note);
|
||||
}
|
||||
|
||||
const mute = checkMute(computed(() => props.note), computed(() => props.withHardMute));
|
||||
const mute = checkMute(
|
||||
computed(() => props.note),
|
||||
computed(() => props.withHardMute),
|
||||
computed(() => prefer.s.uncollapseCW),
|
||||
);
|
||||
|
||||
const mutedWords = computed(() => mute.value.softMutedWords?.join(', '));
|
||||
const isExpanded = computed(() => props.skipMute || expandNote.value || !mute.value.hasMute);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue