diff --git a/src/GraphQl/Queries/AgendaCategoryQueries.ts b/src/GraphQl/Queries/AgendaCategoryQueries.ts index f766337c22..dc68afad39 100644 --- a/src/GraphQl/Queries/AgendaCategoryQueries.ts +++ b/src/GraphQl/Queries/AgendaCategoryQueries.ts @@ -8,8 +8,14 @@ import gql from 'graphql-tag'; */ export const AGENDA_ITEM_CATEGORY_LIST = gql` - query AgendaItemCategoriesByOrganization($organizationId: ID!) { - agendaItemCategoriesByOrganization(organizationId: $organizationId) { + query AgendaItemCategoriesByOrganization( + $organizationId: ID! + $where: AgendaItemCategoryWhereInput + ) { + agendaItemCategoriesByOrganization( + organizationId: $organizationId + where: $where + ) { _id name description diff --git a/src/components/AgendaCategory/AgendaCategoryContainer.tsx b/src/components/AgendaCategory/AgendaCategoryContainer.tsx index 7b4c5cf8f4..3a02dcc416 100644 --- a/src/components/AgendaCategory/AgendaCategoryContainer.tsx +++ b/src/components/AgendaCategory/AgendaCategoryContainer.tsx @@ -211,9 +211,9 @@ function agendaCategoryContainer({
{t('name')}
{t('description')} @@ -242,7 +242,7 @@ function agendaCategoryContainer({ {agendaCategory.description} diff --git a/src/components/OrgSettings/AgendaItemCategories/AgendaCategoryCreateModal.tsx b/src/components/OrgSettings/AgendaItemCategories/AgendaCategoryCreateModal.tsx index 57a3057b3f..04ab07b540 100644 --- a/src/components/OrgSettings/AgendaItemCategories/AgendaCategoryCreateModal.tsx +++ b/src/components/OrgSettings/AgendaItemCategories/AgendaCategoryCreateModal.tsx @@ -1,8 +1,7 @@ import React from 'react'; import { Modal, Form, Button } from 'react-bootstrap'; import type { ChangeEvent } from 'react'; -import styles from './OrganizationAgendaCategory.module.css'; - +import styles from 'style/app.module.css'; /** * InterfaceFormStateType is an object containing the form state */ @@ -48,12 +47,14 @@ const AgendaCategoryCreateModal: React.FC< }) => { return ( -

{t('agendaCategoryDetails')}

+

+ {t('agendaCategoryDetails')} +