mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
simplify store suggested array
This commit is contained in:
@@ -65,7 +65,7 @@ let getDataPromise = getAccompanyingCourse(id)
|
||||
if (payload.query.length >= 3) {
|
||||
searchPersons(payload.query)
|
||||
.then(suggested => new Promise((resolve, reject) => {
|
||||
commit('loadSuggestions', suggested);
|
||||
commit('loadSuggestions', suggested.results); // <====
|
||||
resolve();
|
||||
}));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user