Updates navigation event data
Updates the navigation event to include the current date instead of the week start. Makes the target date optional when rendering an all-day event.
This commit is contained in:
parent
46b8bf9fb5
commit
5c67825e19
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ export class AllDayEventRenderer {
|
|||
/**
|
||||
* Render an all-day event using factory pattern
|
||||
*/
|
||||
public renderAllDayEvent(event: CalendarEvent, targetDate: string): HTMLElement | null {
|
||||
public renderAllDayEvent(event: CalendarEvent, targetDate?: string): HTMLElement | null {
|
||||
const container = this.getContainer();
|
||||
if (!container) return null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue