Commit f5cf5b1e authored by Afid's avatar Afid

hilangin loadingnya kalo get menu nya sudah selesai

parent 8ab729d7
......@@ -105,9 +105,6 @@ class MenuSelection extends React.Component {
name_outlet: outletName,
}
this.props.setChangeOutletProps(OutletChange);
this.setState({
indicator: false
})
this.getMenuList()
}).catch(error => {
......@@ -165,6 +162,10 @@ class MenuSelection extends React.Component {
this.props.updateMenu(data.menu)
this.setState({
indicator: false
})
}).catch(error => {
const { navigation } = this.props
let response = error.response.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment