Remove displayOperationId as prop to Operations
This appears to be a mistake. Operations should get `displayOperationId` from `getConfigs`, not from a prop.
This commit is contained in:
@@ -10,14 +10,9 @@ export default class Operations extends React.Component {
|
||||
layoutActions: PropTypes.object.isRequired,
|
||||
authActions: PropTypes.object.isRequired,
|
||||
authSelectors: PropTypes.object.isRequired,
|
||||
displayOperationId: PropTypes.bool,
|
||||
getConfigs: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
static defaultProps = {
|
||||
displayOperationId: false
|
||||
};
|
||||
|
||||
render() {
|
||||
let {
|
||||
specSelectors,
|
||||
@@ -27,7 +22,6 @@ export default class Operations extends React.Component {
|
||||
layoutActions,
|
||||
authActions,
|
||||
authSelectors,
|
||||
displayOperationId,
|
||||
getConfigs,
|
||||
fn
|
||||
} = this.props
|
||||
|
||||
Reference in New Issue
Block a user