fix(xo-web/host/advanced): catch error for ACLs users on hyper threading plugin
it broke the componentDidMount methode and didn't update the state correctly
This commit is contained in:
committed by
Julien Fontanet
parent
2ba81d55f8
commit
7659d9c0be
@@ -171,7 +171,7 @@ export default class extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
isHtEnabled: await isHyperThreadingEnabledHost(this.props.host),
|
isHtEnabled: await isHyperThreadingEnabledHost(this.props.host).catch(() => null),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user