Skip to content

Commit

Permalink
fix: mention popup reappears after inserting the mention
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
Rash419 authored and backportbot-nextcloud[bot] committed Dec 18, 2023
1 parent cbdbfff commit 714c71e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/view/Office.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 714c71e

Please sign in to comment.