in src/main/resources/static/components/resource/AcsResources.tsx [155:172]
componentDidMount() {
const product = this.productCode();
const url = `/api/${product}/regions`
axios.get(url).then(response => {
// noinspection TypeScriptValidateTypes
this.setState({
regionId: response.data.current,
regions: response.data.regions,
updated: Date.now()
})
})
// noinspection TypeScriptValidateTypes
this.setState({
loading: true
}, () => {
this.loadResources("default", this.state.pageNum, this.pageSize)
})
}