Merge branch 'appm-publisher/fix/images' into 'master'

Remove unwanted app release api call from APPM UIs

Closes product-iots#307

See merge request entgra/carbon-device-mgt!420
feature/appm-store/pbac
Dharmakeerthi Lasantha 5 years ago
commit e361001366

@ -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) => { changeCurrentLifecycleStatus = (status) => {
this.setState({ this.setState({
currentLifecycleStatus: status currentLifecycleStatus: status

@ -49,14 +49,6 @@ class Release extends React.Component {
this.props.changeSelectedMenuItem(deviceType); 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 => { fetchData = uuid => {
const config = this.props.context; const config = this.props.context;

Loading…
Cancel
Save