Commit 3fa9adb
committed
fix: normalize default feedback date range
The initial feedback range should match setDateRange's startOfDay/endOfDay normalization. Otherwise the first "Last 30 days" window can exclude part of the boundary days until the picker changes.
Keep the serialized useState initializer inline because this is a small JSON-safe default shape, not a reusable behavior.
Nuxt useState docs: https://nuxt.com/docs/api/composables/use-state1 parent 47e0744 commit 3fa9adb
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 13 | | |
22 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
0 commit comments