From 101a9333dcc11fa1bd3900098d69f85beaf27244 Mon Sep 17 00:00:00 2001 From: otabekgh Date: Mon, 18 Dec 2023 19:23:02 +0300 Subject: [PATCH] Enable configuration of prods/cons GC to cloud users - UI side --- .../clusterConfiguration/index.js | 60 ++++++++----------- .../administration/softwareUpdates/style.scss | 7 ++- 2 files changed, 29 insertions(+), 38 deletions(-) diff --git a/ui_src/src/domain/administration/clusterConfiguration/index.js b/ui_src/src/domain/administration/clusterConfiguration/index.js index 861b99921..1ace9cc9c 100644 --- a/ui_src/src/domain/administration/clusterConfiguration/index.js +++ b/ui_src/src/domain/administration/clusterConfiguration/index.js @@ -113,42 +113,31 @@ function ClusterConfiguration() { {!isLoading && ( <>
- {isCloud() ? ( - handleChange('dls_retention', e)} - /> - ) : ( + handleChange('dls_retention', e)} + /> + handleChange('gc_producer_consumer_retention_hours', e)} + /> + {!isCloud() && ( <> - handleChange('dls_retention', e)} - /> - handleChange('gc_producer_consumer_retention_hours', e)} - /> { - handleChange('tiered_storage_time_sec', e, err); - }} + onChanges={(e, err) => handleChange('tiered_storage_time_sec', e, err)} /> )} + {localStorage.getItem(LOCAL_STORAGE_ENV) !== 'docker' && !isCloud() && ( <>