mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
fix user autocomplete not adding :
if at the start
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
23b6abf8b7
commit
5b79e3bcd5
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ export default class UserProvider extends AutocompleteProvider {
|
|||
// relies on the length of the entity === length of the text in the decoration.
|
||||
completion: user.rawDisplayName.replace(' (IRC)', ''),
|
||||
completionId: user.userId,
|
||||
suffix: (selection.beginning && selection.start === 0) ? ': ' : ' ',
|
||||
suffix: (selection.beginning && range.start === 0) ? ': ' : ' ',
|
||||
href: makeUserPermalink(user.userId),
|
||||
component: (
|
||||
<PillCompletion
|
||||
|
|
Loading…
Reference in a new issue