mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
bind options and key inside AddPersons component (wip)
This commit is contained in:
@@ -8,7 +8,8 @@ const
|
||||
*
|
||||
* @query string - the query to search for
|
||||
*/
|
||||
let searchPersons = (query) => {
|
||||
let searchPersons = ({ query, options }) => {
|
||||
console.log('options 2', options);
|
||||
let url = `/${locale}/search.${format}?name=person_regular&q=${query}`;
|
||||
return fetch(url)
|
||||
.then(response => {
|
||||
|
Reference in New Issue
Block a user