diff --git a/src/webui/app/routes/app/workspace/calendar.tsx b/src/webui/app/routes/app/workspace/calendar.tsx index 22536b1ae..9ba87a10d 100644 --- a/src/webui/app/routes/app/workspace/calendar.tsx +++ b/src/webui/app/routes/app/workspace/calendar.tsx @@ -125,7 +125,9 @@ export default function CalendarView() { /\/app\/workspace\/calendar/, "", ); - const isAdding = location.pathname.endsWith("/new"); + const isAdding = + location.pathname.endsWith("/new") || + location.pathname.endsWith("/new-for-time-plan-activity"); const topLevelInfo = useContext(TopLevelInfoContext);