-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#5080] Added active state to fix indicator approval workflow
Active status helps MnE managers to identify updates of indicators that have an unlocked period still in progress. the following what has to be done in order to finalize this feature : 1. Update status description. 2. Add new icon history. 3. Create audit trail modal 4. Call /indicator_period_data_framework/ by period Pulling data audit trails from endpoint /indicator_period_data_framework/ by period ID of selected update.
- Loading branch information
Showing
15 changed files
with
387 additions
and
141 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react' | ||
import { Icon as AntIcon } from 'antd' | ||
import SVGInline from 'react-svg-inline' | ||
import get from 'lodash/get' | ||
import { icons } from '../utils/images' | ||
|
||
|
||
const Icon = ({ type, ...props }) => { | ||
const customIcon = get(icons, type) | ||
return customIcon | ||
? <SVGInline svg={customIcon} {...props} /> | ||
: <AntIcon type={type} {...props} /> | ||
} | ||
|
||
export default Icon |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.