Making computed properties available only to non-SDK users

This commit is contained in:
Chuck Skelton 2023-06-23 16:53:04 -07:00
parent 4fd75f124d
commit b5f39a6730

View File

@ -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} />,