From 2d170afafd09cd2399898826dd1f7143518e2f2c Mon Sep 17 00:00:00 2001 From: sualko Date: Wed, 26 Aug 2020 15:54:55 +0200 Subject: [PATCH] fix: user/group selection with exact match fix #65 --- ts/Manager/Api.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ts/Manager/Api.ts b/ts/Manager/Api.ts index f2b20ad..a1d359a 100644 --- a/ts/Manager/Api.ts +++ b/ts/Manager/Api.ts @@ -192,9 +192,11 @@ class Api { }, }); + const data = response.data.ocs.data; + return { - users: response.data.ocs.data.users, - groups: response.data.ocs.data.groups, + users: [...data.users, ...data.exact.users], + groups: [...data.groups, ...data.exact.groups], }; } }