Do not condense single messages (#4313)

This commit is contained in:
Taavi Väänänen 2021-09-29 22:33:40 +03:00 committed by GitHub
parent cc0dc6266e
commit 7873847a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,15 @@ export default {
}
}
return condensed;
return condensed.map((message) => {
// Skip condensing single messages, it doesn't save any
// space but makes useful information harder to see
if (message.type === "condensed" && message.messages.length === 1) {
return message.messages[0];
}
return message;
});
},
},
watch: {