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:
mathieuRA
2023-09-28 15:55:58 +02:00
committed by Julien Fontanet
parent 2ba81d55f8
commit 7659d9c0be

View File

@@ -171,7 +171,7 @@ export default class extends Component {
}
this.setState({
isHtEnabled: await isHyperThreadingEnabledHost(this.props.host),
isHtEnabled: await isHyperThreadingEnabledHost(this.props.host).catch(() => null),
})
}