mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Remove unwanted app release api call from APPM UIs
This commit is contained in:
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…
Reference in New Issue
Block a user