fix prettier error

Signed-off-by: Bayram Çiçek <bayram.cicek@collabora.com>
Change-Id: I666337388d570898720b1055145d7dfe3b4b80cf
pull/9012/head
Bayram Çiçek 2024-05-09 09:29:58 +03:00 committed by Szymon Kłos
parent fcbd08f98c
commit 6300853c4d
1 changed files with 1 additions and 2 deletions

View File

@ -52,8 +52,7 @@ class Mention extends L.Control.AutoCompletePopup {
getPopupEntries(ev: FireEvent): any[] {
const entries: any[] = [];
this.users = ev.data;
if (this.users === null)
return entries;
if (this.users === null) return entries;
const text = this.map._docLayer._mentionText.join('').substring(1);
// filterout the users from list according to the text