This commit is contained in:
2026-06-01 18:56:23 +05:30
parent e662154916
commit 77ad9c5eea
2 changed files with 5 additions and 4 deletions

View File

@@ -124,9 +124,9 @@ const BATCHES_DEFAULT_RAW = [
{ id: 'evening', name: 'Evening Batch', startHour: 16, endHour: 19 }
];
// v8: afternoon batch extended to 12:30 PM. Bumping from v7 wipes the
// v9: afternoon batch extended to 12:30 PM. Bumping from v8 wipes the
// cached layouts that still hold the old endHour: 12 value.
const SLOTS_STORAGE_KEY = 'dispatch.slots.v8';
const SLOTS_STORAGE_KEY = 'dispatch.slots.v9';
// Every prior storage key. Wiped once on mount so stale layouts
// from earlier code versions can't reappear on the next page load.
@@ -137,7 +137,8 @@ const LEGACY_SLOTS_STORAGE_KEYS = [
'dispatch.slots.v4',
'dispatch.slots.v5',
'dispatch.slots.v6',
'dispatch.slots.v7'
'dispatch.slots.v7',
'dispatch.slots.v8'
];
// Build a label like "Slot 1 · 8 AM" (or "Slot 2 · 12:30 PM") from a