diff --git a/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss b/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss index 3f2aa63b50..a5c7b56bde 100644 --- a/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss +++ b/web-frontend/modules/core/assets/scss/components/integrations/local_baserow/local_baserow_form.scss @@ -9,6 +9,12 @@ } } +// The subjects have a description, so they're taller than the four one-line +// items the list fits by default. +.local-baserow-form__subject .select__items { + max-height: 320px; +} + .field-mapping-form__placeholder { width: 100%; height: 36px; diff --git a/web-frontend/modules/core/services/agent.js b/web-frontend/modules/core/services/agent.js index 61c21a9c4e..319b5632c4 100644 --- a/web-frontend/modules/core/services/agent.js +++ b/web-frontend/modules/core/services/agent.js @@ -32,6 +32,14 @@ export default (client) => data: { ...response.data, results, next: null }, } }, + /** Fetch one page of the Agents of the workspace. */ + listPage(workspaceId, { page = 1, search = '', size = 100 } = {}) { + const params = { page, size } + if (search) { + params.search = search + } + return client.get(`/agents/workspace/${workspaceId}/`, { params }) + }, update(agentId, values) { return client.patch(`/agents/${agentId}/`, values) }, diff --git a/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue b/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue index 836ab5b8e5..570add3b98 100644 --- a/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue +++ b/web-frontend/modules/integrations/localBaserow/components/integrations/LocalBaserowForm.vue @@ -2,26 +2,39 @@