mirror of
https://github.com/ansible/awx.git
synced 2026-04-12 21:49:24 -02:30
fix config context if value passed by props not getting overwritten
This commit is contained in:
@@ -24,7 +24,10 @@ class Provider extends Component {
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
this.fetchConfig();
|
||||
const { value } = this.props;
|
||||
if (!value) {
|
||||
this.fetchConfig();
|
||||
}
|
||||
}
|
||||
|
||||
async fetchConfig () {
|
||||
|
||||
Reference in New Issue
Block a user