Skip to content

Commit

Permalink
Merge pull request #398 from kleros/fix(web)/bug-disputes-appearing-i…
Browse files Browse the repository at this point in the history
…n-progress-when-they-are-finished

fix(web): bug disputes appearing in progress when they are finished
  • Loading branch information
alcercu authored Jan 5, 2024
2 parents c225ffa + 2ad42ec commit af59048
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/containers/cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ export default function Cases() {
return acc;
}

if (dispute.period === "4") {
acc.executed.push({
ID: d.disputeID,
draws: numberOfVotes,
});
return acc;
}

if (Number(d.appeal) !== dispute2.votesLengths.length - 1) {
acc.active.push({
ID: d.disputeID,
Expand Down

0 comments on commit af59048

Please sign in to comment.