Remove unwanted app release api call from APPM UIs

feature/appm-store/pbac
Jayasanka Weerasinghe 5 years ago
parent 30aafba8ca
commit 73e2246a20

@ -56,13 +56,6 @@ class Release extends React.Component {
}
componentDidUpdate(prevProps, prevState, snapshot) {
if (prevState.uuid !== this.state.uuid) {
const {uuid} = this.props.match.params;
this.fetchData(uuid);
}
}
changeCurrentLifecycleStatus = (status) => {
this.setState({
currentLifecycleStatus: status

@ -49,14 +49,6 @@ class Release extends React.Component {
this.props.changeSelectedMenuItem(deviceType);
}
componentDidUpdate(prevProps, prevState, snapshot) {
if (prevState.uuid !== this.state.uuid) {
const { uuid, deviceType } = this.props.match.params;
this.fetchData(uuid);
this.props.changeSelectedMenuItem(deviceType);
}
}
fetchData = uuid => {
const config = this.props.context;

Loading…
Cancel
Save