Commit 7519880
fix(web): name the local calendar "Compass" to match the server (#2171)
The client synthesized the anonymous/offline calendar as "Local" while the
backend ensureLocalCalendar names it "Compass", so the sidebar row renamed
itself from "Local" to "Compass" the moment an anonymous user signed up.
Align the client on "Compass". isPrimary is intentionally left as-is (the
client sentinel is primary because it is the only calendar; the server sets
it false so a connected Google primary keeps that role).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 370c284 commit 7519880
2 files changed
Lines changed: 5 additions & 3 deletions
File tree
- packages/web/src
- calendars
- components/PlannerSidebar/PlannerCalendarList
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments