hide mandatory CWs when "uncollapse CWs on notes" is enabled

This commit is contained in:
Hazelnoot 2025-09-12 14:31:13 -04:00
parent 97371bd893
commit b3428480de
2 changed files with 33 additions and 18 deletions

View file

@ -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);