Add planner-aware memos and unified tool configuration panels
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 18s
This commit is contained in:
parent
acd9b2fe11
commit
808610dcf2
53 changed files with 842 additions and 329 deletions
|
|
@ -3,7 +3,7 @@ import { CalendarContent } from "./CalendarContent.jsx";
|
|||
import { CalendarModeChoice } from "./CalendarModeChoice.jsx";
|
||||
import { useCalendarController } from "./useCalendarController.js";
|
||||
|
||||
export function CalendarModule({ toolboxId, moduleId, context, editing = false, setEditing, textExchangeOpen }) {
|
||||
export function CalendarModule({ toolboxId, moduleId, context, editing = false, setEditing, configurationTarget }) {
|
||||
const data = context.normalizeCalendarData(context.getModuleData(toolboxId, moduleId, { initialized: false, viewMode: "week", events: [] }));
|
||||
const textContent = context.moduleText?.calendar || {};
|
||||
const controller = useCalendarController({ data, context, toolboxId, moduleId, editing, setEditing, textContent });
|
||||
|
|
@ -18,5 +18,5 @@ export function CalendarModule({ toolboxId, moduleId, context, editing = false,
|
|||
);
|
||||
}
|
||||
|
||||
return <CalendarContent {...controller.contentProps} textExchangeOpen={textExchangeOpen} />;
|
||||
return <CalendarContent {...controller.contentProps} configurationTarget={configurationTarget} />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue