More work on CC display
This commit is contained in:
parent
27b27876c0
commit
a27864e3d2
7 changed files with 45 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<component :is="rootComponent" ref="root" v-bind="{ ...$props, ...$attrs }" v-if="showMultiview">
|
||||
<div class="bubble">
|
||||
<div class="bubble-inset" v-if="showCCSummary"><CCSummary :flags="proofHintFlags" /></div>
|
||||
<div class="bubble-inset" v-if="showCCSummary"><CCSummary :multiple="items.length > 1" :flags="proofHintFlags" /></div>
|
||||
<div class="original-message bubble-inset" v-if="inReplyToText">
|
||||
<div class="original-message-sender">{{ inReplyToSender }}</div>
|
||||
<div class="original-message-text" v-html="linkify($$sanitize(inReplyToText))" />
|
||||
|
|
@ -158,7 +158,7 @@ const showMultiview = computed((): boolean => {
|
|||
});
|
||||
|
||||
const showCCSummary = computed(() => {
|
||||
return items.value?.some((i) => i.proofHintFlags !== undefined && i.proofHintFlags.valid);
|
||||
return items.value?.some((i) => i.proofHintFlags !== undefined);
|
||||
});
|
||||
|
||||
const proofHintFlags = computed(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue