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
1 changed files with 5 additions and 1 deletions

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({ tabs.push({
tab: SettingsV2TabTypes.ComputedPropertiesTab, tab: SettingsV2TabTypes.ComputedPropertiesTab,
content: <ComputedPropertiesComponent {...computedPropertiesComponentProps} />, content: <ComputedPropertiesComponent {...computedPropertiesComponentProps} />,