From 0721769e034c41533c362b4dacad5d04d16e23f9 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Fri, 10 Jul 2026 00:13:38 +0000 Subject: [PATCH] Hide per-date rescrape button for past columns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Scraping a past date via the hotel-page backend wouldn't return anything useful (Booking.com shows no availability for dates gone by). The ↻ button is now only rendered for today and future dates. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/MarketView.tsx | 32 ++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/frontend/src/pages/MarketView.tsx b/frontend/src/pages/MarketView.tsx index 91a1e75..69b2785 100644 --- a/frontend/src/pages/MarketView.tsx +++ b/frontend/src/pages/MarketView.tsx @@ -1729,21 +1729,23 @@ const RateMatrixTab: React.FC = () => { {scrapeAge} ) : null}
- + {d >= todayStr && ( + + )} {locationName && d >= todayStr && (