smitajoshi12 commented on code in PR #5658:
URL: https://github.com/apache/ozone/pull/5658#discussion_r1463161437
##########
hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/insights/om/om.tsx:
##########
@@ -856,14 +883,19 @@ export class Om extends React.Component<Record<string,
object>, IOmdbInsightsSta
else {
this.fetchMismatchContainers(this.state.DEFAULT_LIMIT,
this.state.prevKeyMismatch, this.state.mismatchMissingState);
}
+ })
};
itemRender = (_: any, type: string, originalElement: any) => {
if (type === 'prev') {
- return <div>{this.state.prevClickable ? <Link to="/Om"
onClick={this.fetchPreviousRecords}> Prev</Link>: <Link to="/Om" style={{
pointerEvents: 'none' }}>No Records</Link>}</div>;
+ return <>{this.state.prevClickable && this.state.pageDisplayCount &&
<Link to="/Om" className='ant-pagination-item-link'
onClick={this.fetchPreviousRecords}> {'<'}
+ </Link>}</>;
+ }
+ if (type === 'page') {
+ return <>{this.state.pageDisplayCount}</>
}
if (type === 'next') {
- return <div> {this.state.nextClickable ? <Link to="/Om"
onClick={this.fetchNextRecords}> {'>>'} </Link> : <Link to="/Om" style={{
pointerEvents: 'none' }}>No More Further Records</Link>}</div>;
+ return <>{this.state.nextClickable ? <Link to="/Om"
className='ant-pagination-item-link next' onClick={this.fetchNextRecords}>
{'>'} </Link> : <div className='norecords'>No Records</div> }</>;
}
Review Comment:
Overing part is disabled in CSS properties.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]