CFenner / MMM-LocalTransport

A module for the MagicMirror to display informations about local tranportation.
MIT License
43 stars 15 forks source link

Possibility to add module twice #4

Closed ghost closed 8 years ago

ghost commented 8 years ago

When adding the module twice, origin and destination from the first module is also used for the second.

schroedermatthias commented 8 years ago

Hi @CFenner, any idea what is happening here or what could be the reason? My JS skills are not excellent, but maybe I can also try to investigate.

CFenner commented 8 years ago

Hi Matthias,

The module system should handle the separation of the config. Is this also happening for instance for the weather module?

CFenner commented 8 years ago

Ah no, I have an idea. The module is using a backend service, and this service notifies both widgets with the same information. I think I can fix this tonight.