Skip to content

Commit

Permalink
feat: merge remote-tracking branch origin
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminic committed Oct 17, 2024
2 parents bbb94fa + 2c7c9a9 commit 693420d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [0.8.0](https://github.com/dhis2/maintenance-app-beta/compare/v0.7.1...v0.8.0) (2024-10-17)


### Features

* add category options form and list ([#419](https://github.com/dhis2/maintenance-app-beta/issues/419)) ([68566e4](https://github.com/dhis2/maintenance-app-beta/commit/68566e4af99c39847f96795eecc617ff44e2d3b3))

## [0.7.1](https://github.com/dhis2/maintenance-app-beta/compare/v0.7.0...v0.7.1) (2024-10-08)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maintenance-app",
"version": "0.7.1",
"version": "0.8.0",
"description": "",
"license": "BSD-3-Clause",
"private": true,
Expand Down
6 changes: 6 additions & 0 deletions src/components/form/fields/OrganisationUnitField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ export const OrganisationUnitField = ({
>(name ?? 'organisationUnits', {
format: (value) => (value === '' ? [] : value),
})
export const OrganisationUnitField = ({ name }: OrganisationUnitFieldProps) => {
const { input, meta } = useField<
OrganisationUnitFormValue[],
HTMLElement,
OrganisationUnitFormValue[]
>(name ?? 'organisationUnits')

const roots = useCurrentUserRootOrgUnits()

Expand Down

0 comments on commit 693420d

Please sign in to comment.