updated the included value validation and excluded to be optional

This commit is contained in:
Sakshi Gupta
2026-01-29 16:36:47 +05:30
parent bcda749c13
commit 24ced0c168
2 changed files with 1 additions and 15 deletions

View File

@@ -687,13 +687,6 @@ export class SettingsComponent extends React.Component<SettingsComponentProps, S
this.setState({ isComputedPropertiesDirty: isComputedPropertiesDirty });
private onDataMaskingContentChange = (newDataMasking: DataModels.DataMaskingPolicy): void => {
if (!newDataMasking.excludedPaths) {
newDataMasking.excludedPaths = [];
}
if (!newDataMasking.includedPaths) {
newDataMasking.includedPaths = [];
}
const validationErrors = [];
if (newDataMasking.includedPaths === undefined || newDataMasking.includedPaths === null) {
validationErrors.push("includedPaths is required");