Skip to content

Commit b91ec3a

Browse files
nhestrompiajaybuidl
authored andcommitted
fix: last appeal round
1 parent dff027b commit b91ec3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/Cases/CaseDetails/Tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const Tabs: React.FC = () => {
7070
useEffect(() => {
7171
TABS[3].disabled =
7272
(parseInt(currentPeriodIndex) < 3 && rounds.length === 1) ||
73-
(!isUndefined(appealCost) && isLastRound(appealCost));
73+
(!isUndefined(appealCost) && isLastRound(appealCost) && parseInt(currentPeriodIndex) === 3);
7474
}, [currentPeriodIndex, id, currentTab, rounds.length, appealCost]);
7575

7676
return (

0 commit comments

Comments
 (0)