-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CM-879: add undo delete individual (#71)
Co-authored-by: Jan <[email protected]>
- Loading branch information
1 parent
c106a9c
commit 6af5f69
Showing
10 changed files
with
172 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...components/tasks/IndividualUpdateTasks.js → src/components/tasks/IndividualTasks.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import React from 'react'; | ||
import { FormattedMessage } from '@openimis/fe-core'; | ||
|
||
const IndividualUpdateTaskTableHeaders = () => [ | ||
const IndividualTaskTableHeaders = () => [ | ||
<FormattedMessage module="individual" id="individual.firstName" />, | ||
<FormattedMessage module="individual" id="individual.lastName" />, | ||
<FormattedMessage module="individual" id="individual.dob" />, | ||
]; | ||
|
||
const IndividualUpdateTaskItemFormatters = () => [ | ||
const IndividualTaskItemFormatters = () => [ | ||
(individual) => individual?.first_name, | ||
(individual) => individual?.last_name, | ||
(individual) => individual?.dob, | ||
]; | ||
|
||
export { IndividualUpdateTaskTableHeaders, IndividualUpdateTaskItemFormatters }; | ||
export { IndividualTaskTableHeaders, IndividualTaskItemFormatters }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.