From 51853f4f42d4421dcdeb8ed14d15ea9ca4bbddd3 Mon Sep 17 00:00:00 2001 From: Abhishek Katiyar Date: Thu, 4 Mar 2021 12:27:47 +0530 Subject: [PATCH 1/2] INFRA-694 | Abhishek | Disable option to edit storage encryption --- src/coreform/DatabaseForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreform/DatabaseForm.tsx b/src/coreform/DatabaseForm.tsx index ced80c1..5d88f57 100644 --- a/src/coreform/DatabaseForm.tsx +++ b/src/coreform/DatabaseForm.tsx @@ -117,7 +117,7 @@ const DatabaseAdvancedConfiguration = () => { } label="Apply Immediately" /> } label="Performance Insights" /> - } label="Storage Encryption" /> + } label="Storage Encryption" /> } label="Disable Multi-AZ" /> From 004d7c2384e27142ae02a43655721d2808f59b5a Mon Sep 17 00:00:00 2001 From: Abhishek Katiyar Date: Thu, 4 Mar 2021 13:02:11 +0530 Subject: [PATCH 2/2] INFRA-694 | Abhishek | Remove option for storage encryption for new manifests --- src/coreform/DatabaseForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coreform/DatabaseForm.tsx b/src/coreform/DatabaseForm.tsx index 5d88f57..0a5e513 100644 --- a/src/coreform/DatabaseForm.tsx +++ b/src/coreform/DatabaseForm.tsx @@ -113,11 +113,12 @@ const DatabaseConfiguration = () => { const DatabaseAdvancedConfiguration = () => { const classes = useStyles(); + const [extraResourcesId] = useField('extraResources.id'); return ( } label="Apply Immediately" /> } label="Performance Insights" /> - } label="Storage Encryption" /> + { extraResourcesId.value !== undefined ? } label="Storage Encryption" />:null} } label="Disable Multi-AZ" />