mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-26 07:26:58 +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({
|
||||
tab: SettingsV2TabTypes.ComputedPropertiesTab,
|
||||
content: <ComputedPropertiesComponent {...computedPropertiesComponentProps} />,
|
||||
|
Loading…
Reference in New Issue
Block a user