-
Notifications
You must be signed in to change notification settings - Fork 29
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
Last Item keeps being displayed even list ist is empty and hideIfEmpty=true #20
Comments
I used your configuration but the issue does not replicate on my side. I also tried it with a shared list and when the last item is removed, the list disappears. I added a log message in https://github.com/thobach/MMM-MicrosoftToDo/blob/master/MMM-MicrosoftToDo.js#L46 to display the number of items received, that could give us a hint if no more updates are received, or if the logic to hide the module does not work. Could you please test if the issue is also present when you only display the MMM-MicrosoftToDo module? Maybe there is another module that interferes with the logic to hide the module. |
Interesting, with the Update, I only get the message that the Plugin is waiting for the items to be received or Loading list... It seems that it now interferes with the MMM-GoogleMapsTraffic Module which did not cause any trouble with the MMM-Wonderlist plugin:
If I disable this plugin, the items are loaded properly. The log - does not show any special entries no matter if the MMM-MicrosoftToDo is installed alone or together with the other plugins. Any Idea - maybe delaying the loading of the plugin for some seconds? The Google Plugin is data heavy - maybe retrieving the map causes some trouble? Log entries:
[2020-04-27 09:07:39.366] [LOG] Starting MagicMirror: v2.11.0 |
…ogleMapsTraffic interferred with the console object and removed the log function.
Could you please try again with the latest version of this module (in the module folder run |
I have a shared list as main list which I share with my wife. The list keeps updating correctly and all items are displayed. I have selected the hideIfEmpty = true in the configuration and when I (or my wife) delete(s) the last item active on the list. It keeps being displayed on the module. The module itself is still visible with the last active item on. I would have expected it to be invisible when no item is active in the shared list.
My Configuration with IDs deleted:
},
The text was updated successfully, but these errors were encountered: