Styling tweaks
This commit is contained in:
parent
3f1c58b743
commit
7183681e71
3 changed files with 17 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="quick-reaction-container">
|
||||
<div class="quick-reaction-container" v-show="reactions">
|
||||
<span :class="{'quick-reaction':true,'sent':value.includes($matrix.currentUserId)}" v-for="(value, name) in reactionMap" :key="name" @mousedown="onClickEmoji(name)">
|
||||
{{ name }} <span class="quick-reaction-count">{{ value.length }}</span>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ export default {
|
|||
{
|
||||
// Can we find the original message?
|
||||
const originalEventId = relatesTo['m.in_reply_to'].event_id;
|
||||
if (originalEventId) {
|
||||
if (originalEventId && this.timelineSet) {
|
||||
const originalEvent = this.timelineSet.findEventById(originalEventId);
|
||||
this.inReplyToEvent = originalEvent;
|
||||
this.inReplyToSender = this.messageEventDisplayName(originalEvent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue