mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-16 17:25:58 +00:00
Making computed properties available only to non-SDK users
This commit is contained in:
parent
58d90a0095
commit
bbd19d3e65
@ -1158,7 +1158,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…
x
Reference in New Issue
Block a user