mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
fix config context if value passed by props not getting overwritten
This commit is contained in:
@@ -24,8 +24,11 @@ class Provider extends Component {
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
const { value } = this.props;
|
||||
if (!value) {
|
||||
this.fetchConfig();
|
||||
}
|
||||
}
|
||||
|
||||
async fetchConfig () {
|
||||
const { api, handleHttpError } = this.props;
|
||||
|
||||
Reference in New Issue
Block a user