@budibase/frontend-core 2.6.8-alpha.10 → 2.6.8-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "2.6.8-alpha.10",
3
+ "version": "2.6.8-alpha.13",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
7
7
  "svelte": "src/index.js",
8
8
  "dependencies": {
9
- "@budibase/bbui": "2.6.8-alpha.10",
10
- "@budibase/shared-core": "2.6.8-alpha.10",
9
+ "@budibase/bbui": "2.6.8-alpha.13",
10
+ "@budibase/shared-core": "2.6.8-alpha.13",
11
11
  "dayjs": "^1.11.7",
12
12
  "lodash": "^4.17.21",
13
13
  "socket.io-client": "^4.6.1",
14
14
  "svelte": "^3.46.2"
15
15
  },
16
- "gitHead": "bcc68ebca7f6a471883eca92678c9ab4ab34dc2a"
16
+ "gitHead": "69e6ab88e84ebddf750968b9afe840b0654fe6ec"
17
17
  }
package/src/api/groups.js CHANGED
@@ -55,10 +55,13 @@ export const buildGroupsEndpoints = API => {
55
55
  /**
56
56
  * Gets a group users by the group id
57
57
  */
58
- getGroupUsers: async ({ id, bookmark }) => {
58
+ getGroupUsers: async ({ id, bookmark, emailSearch }) => {
59
59
  let url = `/api/global/groups/${id}/users?`
60
60
  if (bookmark) {
61
- url += `bookmark=${bookmark}`
61
+ url += `bookmark=${bookmark}&`
62
+ }
63
+ if (emailSearch) {
64
+ url += `emailSearch=${emailSearch}&`
62
65
  }
63
66
 
64
67
  return await API.get({
@@ -31,6 +31,7 @@ export default class GroupUserFetch extends DataFetch {
31
31
  try {
32
32
  const res = await this.API.getGroupUsers({
33
33
  id: query.groupId,
34
+ emailSearch: query.emailSearch,
34
35
  bookmark: cursor,
35
36
  })
36
37