Default changed-since to enabled (24h) on page load

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-11 09:12:58 +00:00
parent 68e8a6883b
commit b90f6bcbd6

View file

@ -1423,7 +1423,7 @@ const RateMatrixTab: React.FC = () => {
const [customTo, setCustomTo] = useState(fmtDate(new Date(Date.now() + 13 * 86400000)))
const [showDirect, setShowDirect] = useState(false)
const [historyModal, setHistoryModal] = useState<RateHistoryModal | null>(null)
const [changedSinceEnabled, setChangedSinceEnabled] = useState(false)
const [changedSinceEnabled, setChangedSinceEnabled] = useState(true)
const [changedSinceDate, setChangedSinceDate] = useState<string>(() => {
const d = new Date(Date.now() - 24 * 60 * 60 * 1000)
const p = (n: number) => String(n).padStart(2, '0')