Skip to content

Commit

Permalink
[SR] Prevent change to snapshot name / repository for managed SLM pol…
Browse files Browse the repository at this point in the history
…icies
  • Loading branch information
renshuki committed Nov 30, 2023
1 parent df6e8dd commit 8366907
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export const PolicyStepLogistics: React.FunctionComponent<StepProps> = ({
}}
fullWidth
data-test-subj="repositorySelect"
disabled={policy?.isManagedPolicy && (isEditing)}
/>
);
};
Expand Down Expand Up @@ -342,6 +343,7 @@ export const PolicyStepLogistics: React.FunctionComponent<StepProps> = ({
}
)}
data-test-subj="snapshotNameInput"
disabled={policy?.isManagedPolicy && (isEditing)}
/>
</EuiFormRow>
</EuiDescribedFormGroup>
Expand Down

0 comments on commit 8366907

Please sign in to comment.