This is an automated email from the ASF dual-hosted git repository.
arafat2198 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 2b196d1979 HDDS-11468. Enabled DB sync button (#7216)
2b196d1979 is described below
commit 2b196d19790f0488b0803346e702dbb055c86e0c
Author: Abhishek Pal <[email protected]>
AuthorDate: Fri Sep 20 10:50:32 2024 +0530
HDDS-11468. Enabled DB sync button (#7216)
---
.../ozone-recon-web/src/components/autoReloadPanel/autoReloadPanel.tsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/autoReloadPanel/autoReloadPanel.tsx
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/autoReloadPanel/autoReloadPanel.tsx
index 0230d4dd61..6b2bab246b 100644
---
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/autoReloadPanel/autoReloadPanel.tsx
+++
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/components/autoReloadPanel/autoReloadPanel.tsx
@@ -76,10 +76,11 @@ class AutoReloadPanel extends
React.Component<IAutoReloadPanelProps> {
);
const lastUpdatedDeltaFullText = lastUpdatedOMDBDelta === 0 ||
lastUpdatedOMDBDelta === undefined || lastUpdatedOMDBFull === 0 ||
lastUpdatedOMDBFull === undefined ? '' :
+ //omSyncLoad should be clickable at all times. If the response from the
dbsync is false it will show DB update is already running else show triggered
sync
(
<>
| DB Synced at {lastUpdatedDeltaFullToolTip}
- <Button shape='circle' icon={<PlayCircleOutlined />}
size='small' loading={isLoading} onClick={omSyncLoad} disabled={omStatus === ''
? false : true} />
+ <Button shape='circle' icon={<PlayCircleOutlined />}
size='small' loading={isLoading} onClick={omSyncLoad} />
</>
);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]