mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
fix(mood): open the reminder's entry sheet only in the own record
This commit is contained in:
1 parent
3c4e053dcd
commit
a4a3318de3
3 files changed
+143
-9
No files matched your search
@@ -36,7 +36,10 @@ export const NOTIFICATION_TAP_PATHS: Record<EventType, string | null> = {
|
||||
WITHINGS_SYNC_FAILED: "/settings/integrations",
|
||||
SYSTEM_ALERT: "/",
|
||||
PERSONAL_RECORD: "/achievements",
|
||||
// `?add=1` opens the mood entry sheet on the first paint.
|
||||
// `?add=1` opens the mood entry sheet on the first paint, and only in the
|
||||
// recipient's own record: a session switched into another record opens the
|
||||
// page without the sheet (`src/app/mood/page-client.tsx`). No other target
|
||||
// here opens a write form.
|
||||
MOOD_REMINDER: "/mood?add=1",
|
||||
CYCLE_PERIOD_SOON: "/cycle",
|
||||
CYCLE_PERIOD_CONFIRM: "/cycle",
|
||||
|
||||
Reference in new issue
Block a user