mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-17 01:36:57 +00:00
Making computed properties available only to non-SDK users
This commit is contained in:
parent
4fd75f124d
commit
b5f39a6730
@ -1144,7 +1144,11 @@ export class SettingsComponent extends React.Component<SettingsComponentProps, S
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.shouldShowComputedPropertiesEditor) {
|
if (
|
||||||
|
this.shouldShowComputedPropertiesEditor &&
|
||||||
|
userContext.authType === AuthType.AAD &&
|
||||||
|
!userContext.features.enableSDKoperations
|
||||||
|
) {
|
||||||
tabs.push({
|
tabs.push({
|
||||||
tab: SettingsV2TabTypes.ComputedPropertiesTab,
|
tab: SettingsV2TabTypes.ComputedPropertiesTab,
|
||||||
content: <ComputedPropertiesComponent {...computedPropertiesComponentProps} />,
|
content: <ComputedPropertiesComponent {...computedPropertiesComponentProps} />,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user