Fix previous-source calculation (#4656)
CondensedMessage is a proxy object, outside of the templates we need to unwrap it manually
This commit is contained in:
parent
c67df36a29
commit
073a38ef1e
@ -275,7 +275,7 @@ export default defineComponent({
|
||||
};
|
||||
|
||||
const isPreviousSource = (currentMessage: ClientMessage | Msg, id: number) => {
|
||||
const previousMessage = condensedMessages[id - 1];
|
||||
const previousMessage = condensedMessages.value[id - 1];
|
||||
return !!(
|
||||
previousMessage &&
|
||||
currentMessage.type === "message" &&
|
||||
|
Loading…
Reference in New Issue
Block a user