mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Feature: Support previous days option in Calendar Agenda (#2375)
Signed-off-by: Denis Papec <denis.papec@gmail.com>
This commit is contained in:
parent
acafbb5100
commit
518ed7fc4e
3 changed files with 6 additions and 1 deletions
|
@ -351,6 +351,7 @@ export function cleanServiceGroups(groups) {
|
|||
firstDayInWeek,
|
||||
integrations,
|
||||
maxEvents,
|
||||
previousDays,
|
||||
view,
|
||||
|
||||
// coinmarketcap
|
||||
|
@ -517,6 +518,7 @@ export function cleanServiceGroups(groups) {
|
|||
if (firstDayInWeek) cleanedService.widget.firstDayInWeek = firstDayInWeek;
|
||||
if (view) cleanedService.widget.view = view;
|
||||
if (maxEvents) cleanedService.widget.maxEvents = maxEvents;
|
||||
if (previousDays) cleanedService.widget.previousDays = previousDays;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue