Fix force completion and hide rooms with no alias
This commit is contained in:
parent
9a991a4dfd
commit
79e5e6f6fe
3 changed files with 10 additions and 4 deletions
|
@ -44,7 +44,7 @@ export default class RoomProvider extends AutocompleteProvider {
|
|||
),
|
||||
range,
|
||||
};
|
||||
}).slice(0, 4);
|
||||
}).filter(completion => !!completion.completion && completion.completion.length > 0).slice(0, 4);
|
||||
}
|
||||
return completions;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue