mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
fix config context if value passed by props not getting overwritten
This commit is contained in:
parent
5030eb35b6
commit
ce49cb9ba4
@ -24,7 +24,10 @@ class Provider extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount () {
|
componentDidMount () {
|
||||||
this.fetchConfig();
|
const { value } = this.props;
|
||||||
|
if (!value) {
|
||||||
|
this.fetchConfig();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async fetchConfig () {
|
async fetchConfig () {
|
||||||
|
Loading…
Reference in New Issue
Block a user