logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 5badc930c9c691b52ab0a4b3aaf76e2855cc891c
parent: e1d61746892e5bdd8c0dd92a4704336b3efdb7e4
Author: Roger Braun <roger@rogerbraun.net>
Date:   Wed, 30 Nov 2016 17:07:50 +0100

Search through both name and screen_name.

Diffstat:

Msrc/components/post_status_form/post_status_form.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js @@ -49,7 +49,7 @@ const defaultCollection = { menuContainer: document.body, // column to search against in the object (accepts function or string) - lookup: 'name', + lookup: ({name, screen_name}) => `${name} (@${screen_name})`, // column that contains the content to insert by default fillAttr: 'screen_name',