client: fix quotes with only a CW
Changelog: Fixed
This commit is contained in:
parent
a45908c1cb
commit
0bb4a6af50
2 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ const label = computed(() => {
|
|||
props.note.text ? [i18n.t('_cw.chars', { count: length(props.note.text) })] : [],
|
||||
props.note.files && props.note.files.length !== 0 ? [i18n.t('_cw.files', { count: props.note.files.length }) ] : [],
|
||||
props.note.poll != null ? [i18n.ts.poll] : [],
|
||||
props.note.renoteId != null ? [i18n.ts.quote] : [],
|
||||
] as string[][]).join(' / ');
|
||||
});
|
||||
|
||||
|
|
|
@ -151,6 +151,7 @@ if (noteViewInterruptors.length > 0) {
|
|||
const isRenote = (
|
||||
note.renote != null &&
|
||||
note.text == null &&
|
||||
note.cw == null &&
|
||||
note.fileIds.length === 0 &&
|
||||
note.poll == null
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue