Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to hide empty calendars #51

Open
alexbergsland opened this issue Feb 20, 2021 · 0 comments
Open

Option to hide empty calendars #51

alexbergsland opened this issue Feb 20, 2021 · 0 comments

Comments

@alexbergsland
Copy link

I have several calendars configured differently and some of them might sometimes not show anything. But instead of being hidden they display "No upcoming events" or whatever the English translation is of "Inga kommande händelser."
I normally use hideEmptyDays: true but I also tried displayBlankDays: true from #29 but that only affects days and not calendars.

{
        module: "MMM-CalendarWeek",
        position: "top_left", 
        config: {
                colored: true,
                calendarTitle: "Viktigt",
                maximumNumberOfDays: "10",
                displayLocation: true,
                showEndDate: true,
                maximumDaysPerLine: "1",
                maximumEntries: "3",
                hideEmptyDays: true,
                calendars: [
                        {
                                symbol: "calendar",
                                url: "https://calendar.google.com/calendar/basic.ics",
                                color: '#72b8ff'
                       }
                ]
        }
},

This shows three calendars and the second one (from the config above) is empty except from "Inga kommande händelser." in grey.
2021-02-20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant