From 36e280cb9f8ffa8e061d0702e3659c9fb29f3f66 Mon Sep 17 00:00:00 2001 From: kyuuseiryuu Date: Mon, 23 Mar 2026 14:44:59 +0900 Subject: [PATCH] fix(GroupingPrediction): show refresh button when uidScoreRequest data exists Previously, the refresh button was hidden whenever the cached uidScore size was greater than 0, or when the cached data was empty. This logic prevented the button from appearing even after a data request successfully returned data in uidScoreRequest. The updated logic now checks both the cached uidScore and the request data. If either contains data, the button is shown, ensuring users can refresh scores regardless of the caching state. --- src/components/GroupingPrediction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GroupingPrediction.tsx b/src/components/GroupingPrediction.tsx index 977a4fb..214f3e0 100644 --- a/src/components/GroupingPrediction.tsx +++ b/src/components/GroupingPrediction.tsx @@ -115,7 +115,7 @@ export const GroupingPrediction: React.FC = props => { OrderScore.年度积分, ]} /> -