fix: Remove duplicate tooltip for failed messages on the conversation UI (#9259)
This commit is contained in:
@@ -14,11 +14,7 @@
|
|||||||
@click="retrySendMessage"
|
@click="retrySendMessage"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div :class="bubbleClass" @contextmenu="openContextMenu($event)">
|
||||||
v-tooltip.top-start="messageToolTip"
|
|
||||||
:class="bubbleClass"
|
|
||||||
@contextmenu="openContextMenu($event)"
|
|
||||||
>
|
|
||||||
<bubble-mail-head
|
<bubble-mail-head
|
||||||
:email-attributes="contentAttributes.email"
|
:email-attributes="contentAttributes.email"
|
||||||
:cc="emailHeadAttributes.cc"
|
:cc="emailHeadAttributes.cc"
|
||||||
@@ -90,7 +86,7 @@
|
|||||||
:id="data.id"
|
:id="data.id"
|
||||||
:sender="data.sender"
|
:sender="data.sender"
|
||||||
:story-sender="storySender"
|
:story-sender="storySender"
|
||||||
:external-error="externalError"
|
:external-error="errorMessageTooltip"
|
||||||
:story-id="`${storyId}`"
|
:story-id="`${storyId}`"
|
||||||
:is-a-tweet="isATweet"
|
:is-a-tweet="isATweet"
|
||||||
:is-a-whatsapp-channel="isAWhatsAppChannel"
|
:is-a-whatsapp-channel="isAWhatsAppChannel"
|
||||||
@@ -412,14 +408,11 @@ export default {
|
|||||||
}
|
}
|
||||||
: false;
|
: false;
|
||||||
},
|
},
|
||||||
messageToolTip() {
|
errorMessageTooltip() {
|
||||||
if (this.isMessageDeleted) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (this.isFailed) {
|
if (this.isFailed) {
|
||||||
return this.externalError || this.$t(`CONVERSATION.SEND_FAILED`);
|
return this.externalError || this.$t(`CONVERSATION.SEND_FAILED`);
|
||||||
}
|
}
|
||||||
return false;
|
return '';
|
||||||
},
|
},
|
||||||
wrapClass() {
|
wrapClass() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user