From c57d192abe4980ddb528c5cceb1c90fe851a44a1 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 18 Jan 2022 12:51:37 +0100 Subject: [PATCH] Fix actor auto-complete Signed-off-by: Thomas Citharel --- .../components/Account/ActorAutoComplete.vue | 118 ------------------ js/src/components/Account/ActorInline.vue | 6 +- js/src/components/Editor/Mention.ts | 22 +++- js/src/components/Editor/MentionList.vue | 6 +- js/src/components/Todo/FullTodo.vue | 10 +- 5 files changed, 27 insertions(+), 135 deletions(-) delete mode 100644 js/src/components/Account/ActorAutoComplete.vue diff --git a/js/src/components/Account/ActorAutoComplete.vue b/js/src/components/Account/ActorAutoComplete.vue deleted file mode 100644 index 50a77e1b4..000000000 --- a/js/src/components/Account/ActorAutoComplete.vue +++ /dev/null @@ -1,118 +0,0 @@ - - diff --git a/js/src/components/Account/ActorInline.vue b/js/src/components/Account/ActorInline.vue index 29fa40359..867bd1689 100644 --- a/js/src/components/Account/ActorInline.vue +++ b/js/src/components/Account/ActorInline.vue @@ -9,20 +9,22 @@

- {{ actor.name || `@${usernameWithDomain(actor)}` }} + {{ displayName(actor) }}