Skip to content

Commit

Permalink
HDDS-11468. Enabled DB sync button (apache#7216)
Browse files Browse the repository at this point in the history
  • Loading branch information
devabhishekpal authored Sep 20, 2024
1 parent d3899d2 commit 2b196d1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
(
<>
&nbsp; | DB Synced at {lastUpdatedDeltaFullToolTip}
&nbsp;<Button shape='circle' icon={<PlayCircleOutlined />} size='small' loading={isLoading} onClick={omSyncLoad} disabled={omStatus === '' ? false : true} />
&nbsp;<Button shape='circle' icon={<PlayCircleOutlined />} size='small' loading={isLoading} onClick={omSyncLoad} />
</>
);

Expand Down

0 comments on commit 2b196d1

Please sign in to comment.