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

Fix symbol class handling for rendering and broadcasting #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ayezutov
Copy link

I was trying to setup a dashboard with MMM-CalendarExt3 and MMM-CalendarExt3Journal. When doing so I could not make the symbols to work. Upon diving deep I have realized that there are some peculiarities about how symbol classes and symbols are being handled.

  1. calendarID was not stored on the event in the eventList. This led to always showing the default icon for the module ('calendar'). I have updated line 1072 to explicitly set calendarID on the cloned event. This should be safe as it is removed in line 1076 either way.
  2. updated rendering and broadcasting to include configured symbolClass to mimic the native's calendar format.

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

Successfully merging this pull request may close these issues.

1 participant