We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5ecbb commit 7599a23Copy full SHA for 7599a23
web/src/pages/Cases/CaseDetails/MaintenanceButtons/index.tsx
@@ -72,14 +72,12 @@ const MaintenanceButtons: React.FC = () => {
72
const now = Date.now() / 1000;
73
74
if (
75
- dispute.period !== Period.Execution &&
76
- now > parseInt(dispute.lastPeriodChange) + parseInt(dispute.court.timesPerPeriod[period])
+ (dispute.period !== Period.Execution &&
+ now > parseInt(dispute.lastPeriodChange) + parseInt(dispute.court.timesPerPeriod[period])) ||
77
+ (dispute.period === Period.Execution && !dispute.ruled)
78
) {
79
setDisplayRipple(true);
80
return;
- } else if (dispute.period === Period.Execution && !dispute.ruled) {
81
- setDisplayRipple(true);
82
- return;
83
}
84
85
setDisplayRipple(false);
0 commit comments