From 1d15b23e4296090868b010f9ca1a4ee16396f0b7 Mon Sep 17 00:00:00 2001 From: Rashesh Padia Date: Tue, 12 Dec 2023 12:52:27 +0530 Subject: [PATCH] fix: mention up reappears after inserting the mention - when COOL inserts the mention it sends 'UI_Mention' with 'type: selected', we don't want to send 'Action_Mention' for 'selected' type Signed-off-by: Rashesh Padia --- src/view/Office.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view/Office.vue b/src/view/Office.vue index 4d6df3c718..6891ab85c0 100644 --- a/src/view/Office.vue +++ b/src/view/Office.vue @@ -350,7 +350,9 @@ export default { }) break case 'UI_Mention': - this.uiMention(parsed.args.text) + if (parsed.args.type === 'autocomplete') { + this.uiMention(parsed.args.text) + } break case 'UI_CreateFile': FilesAppIntegration.createNewFile(args.DocumentType)