Skip to content

Commit

Permalink
temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pankaj-peerdb committed Jan 7, 2024
1 parent c9ed211 commit 26ac210
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions ui/app/mirrors/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,21 @@ export default function Mirrors() {

let qrepFlows = flows?.filter((flow) => {
if (flow.config_proto && flow.query_string) {
let config = QRepConfig.decode(flow.config_proto);
const watermarkCol = config.watermarkColumn.toLowerCase();
//let config = QRepConfig.decode(flow.config_proto);
const watermarkCol = 'id';//config.watermarkColumn.toLowerCase();
return watermarkCol !== 'xmin' && watermarkCol !== 'ctid';
}
return false;
});

let xminFlows = flows?.filter((flow) => {
if (flow.config_proto && flow.query_string) {
let config = QRepConfig.decode(flow.config_proto);
return config.watermarkColumn.toLowerCase() === 'xmin';
}
return false;
});
// let xminFlows = flows?.filter((flow) => {
// if (flow.config_proto && flow.query_string) {
// let config = QRepConfig.decode(flow.config_proto);
// return config.watermarkColumn.toLowerCase() === 'xmin';
// }
// return false;
// });
let xminFlows = []

return (
<LayoutMain alignSelf='flex-start' justifySelf='flex-start' width='full'>
Expand Down

0 comments on commit 26ac210

Please sign in to comment.