mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-12-01 18:07:00 +00:00
Address lint error
This commit is contained in:
parent
28d8216b32
commit
602a697fe9
@ -488,8 +488,7 @@ async function configurePortal(): Promise<Explorer> {
|
|||||||
updateUserContext({ dataPlaneRbacEnabled });
|
updateUserContext({ dataPlaneRbacEnabled });
|
||||||
useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled });
|
useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled });
|
||||||
} else {
|
} else {
|
||||||
let dataPlaneRbacEnabled;
|
const dataPlaneRbacEnabled = account.properties.disableLocalAuth;
|
||||||
dataPlaneRbacEnabled = account.properties.disableLocalAuth;
|
|
||||||
|
|
||||||
updateUserContext({ dataPlaneRbacEnabled });
|
updateUserContext({ dataPlaneRbacEnabled });
|
||||||
useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled });
|
useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled });
|
||||||
|
Loading…
Reference in New Issue
Block a user