Removes redundant header cache invalidation
Clearing the header manager's cache on `workweek:header-update` is no longer needed, streamlining updates.
This commit is contained in:
parent
134ee29cb1
commit
92463ef173
1 changed files with 0 additions and 1 deletions
|
|
@ -132,7 +132,6 @@ export class HeaderManager {
|
||||||
// Listen for workweek header updates after grid rebuild
|
// Listen for workweek header updates after grid rebuild
|
||||||
eventBus.on('workweek:header-update', (event) => {
|
eventBus.on('workweek:header-update', (event) => {
|
||||||
const { currentDate } = (event as CustomEvent).detail;
|
const { currentDate } = (event as CustomEvent).detail;
|
||||||
this.clearCache(); // Clear cache since DOM was cleared
|
|
||||||
this.updateHeader(currentDate, null);
|
this.updateHeader(currentDate, null);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue