File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ export default {
183183 changed: false ,
184184 largerModal: false ,
185185 isLargeScreen: window .innerWidth >= 1024 ,
186+ additionalTrapElements: [],
186187 isMaximized: false ,
187188 recipient: {
188189 name: ' ' ,
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ export default {
199199 {
200200 marker: ' @' ,
201201 feed: this .getContact ,
202- itemRenderer: this .customRenderer ,
202+ itemRenderer : ( value ) => this .customRenderer (value, ' contact ' ) ,
203203 },
204204 {
205205 marker: ' !' ,
@@ -242,7 +242,7 @@ export default {
242242 return []
243243 }
244244 let contactResults = await autoCompleteByName (text)
245- contactResults = contactResults .filter ((result ) => result .email .length > 0 )
245+ contactResults = contactResults .filter ((result ) => result .email .filter (( email ) => email . length > 1 ). length > 0 )
246246 return contactResults
247247 },
248248
You can’t perform that action at this time.
0 commit comments