<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-todoist dosent hide with this Option]]></title><description><![CDATA[<p dir="auto">HI,</p>
<p dir="auto">i set the hideWhenEmpty to true but it still display the header and the borderline. I had a look at the code and there I saw nothing about defaults with hideWhenEmpty. I saw in the code there is a getDom function but this dosent work.</p>
<p dir="auto">someone know about that?</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.magicmirror.builders/topic/18556/mmm-todoist-dosent-hide-with-this-option</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 15:07:42 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18556.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Mar 2024 22:17:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Sat, 09 Mar 2024 21:33:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">It works thanks Sam</p>
]]></description><link>https://forum.magicmirror.builders/post/116163</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116163</guid><dc:creator><![CDATA[fischi87]]></dc:creator><pubDate>Sat, 09 Mar 2024 21:33:59 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Fri, 08 Mar 2024 22:29:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fischi87" aria-label="Profile: fischi87">@<bdi>fischi87</bdi></a>  add the one line, this.hide() shown below</p>
<pre><code class="language-js">                    // moved to here and changed return
    		if (this.config.hideWhenEmpty &amp;&amp; this.tasks.items.length === 0) {
                        this.hide()  // added hide to hide header too
    			return wrapper;
    		}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/116151</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116151</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 08 Mar 2024 22:29:40 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Fri, 08 Mar 2024 21:50:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">u can explain me how it works with self.hide()? where I have to write it down and so on?</p>
]]></description><link>https://forum.magicmirror.builders/post/116150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116150</guid><dc:creator><![CDATA[fischi87]]></dc:creator><pubDate>Fri, 08 Mar 2024 21:50:35 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Fri, 08 Mar 2024 20:59:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fischi87" aria-label="Profile: fischi87">@<bdi>fischi87</bdi></a> header is different its not hidden.</p>
<p dir="auto">do, could do self.hide()<br />
I was returning an empty div</p>
]]></description><link>https://forum.magicmirror.builders/post/116149</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116149</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 08 Mar 2024 20:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Fri, 08 Mar 2024 20:39:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">I think this don’t work because I see still the header. it es possible to display a empty wrapper?</p>
]]></description><link>https://forum.magicmirror.builders/post/116148</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116148</guid><dc:creator><![CDATA[fischi87]]></dc:creator><pubDate>Fri, 08 Mar 2024 20:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Fri, 08 Mar 2024 14:48:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fischi87" aria-label="Profile: fischi87">@<bdi>fischi87</bdi></a> no… getDom() should ALWAYS return something</p>
<pre><code>	getDom: function () {
	
		//Add a new div to be able to display the update time alone after all the task
		var wrapper = document.createElement("div");

		//display "loading..." if not loaded
		if (!this.loaded) {
			wrapper.innerHTML = "Loading...";
			wrapper.className = "dimmed light small";
			return wrapper;
		}
                // moved to here and changed return
		if (this.config.hideWhenEmpty &amp;&amp; this.tasks.items.length === 0) {
			return wrapper;
		}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/116143</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116143</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 08 Mar 2024 14:48:33 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Fri, 08 Mar 2024 14:36:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">For example i try this?</p>
<pre><code>return this.hide()
</code></pre>
<p dir="auto">U think it will be better?</p>
]]></description><link>https://forum.magicmirror.builders/post/116142</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116142</guid><dc:creator><![CDATA[fischi87]]></dc:creator><pubDate>Fri, 08 Mar 2024 14:36:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-todoist dosent hide with this Option on Fri, 08 Mar 2024 14:23:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fischi87" aria-label="Profile: fischi87">@<bdi>fischi87</bdi></a> I looked at code and it uses that property, incorrectly in my opinion</p>
<p dir="auto"><img src="/assets/uploads/files/1709907781392-screenshot_20240308_071505_chrome.jpg" alt="Screenshot_20240308_071505_Chrome.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/116141</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116141</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 08 Mar 2024 14:23:02 GMT</pubDate></item></channel></rss>