diff --git a/src/cartobio-api.js b/src/cartobio-api.js index 45281d7e..3928117d 100644 --- a/src/cartobio-api.js +++ b/src/cartobio-api.js @@ -50,8 +50,8 @@ export async function searchOperators({ input, page, sort, order }) { * @param {number?} offset * @return {Promise} */ -export async function getUserOperators() { - const { data } = await apiClient.get(`/v2/operators`); +export async function getUserOperators(search, limit, offset) { + const { data } = await apiClient.get(`/v2/operators`, { params: { limit, offset, search } }); return data; } diff --git a/src/pages/exploitations/index.vue b/src/pages/exploitations/index.vue index 46091a80..060ac419 100644 --- a/src/pages/exploitations/index.vue +++ b/src/pages/exploitations/index.vue @@ -10,13 +10,31 @@ meta:

Sélectionner mon exploitation

- +
Chargement des données…
- -
- +
+

+ Votre compte n'est rattaché à aucune exploitation. Nous vous invitons à vérifier vos accès sur + le portail de notification +

+

Aucun résultat pour cette recherche

+