MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-todoist dosent hide with this Option

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 924 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      fischi87 @sdetweil
      last edited by

      @sdetweil

      I think this don’t work because I see still the header. it es possible to display a empty wrapper?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @fischi87
        last edited by sdetweil

        @fischi87 header is different its not hidden.

        do, could do self.hide()
        I was returning an empty div

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          fischi87 @sdetweil
          last edited by

          @sdetweil

          u can explain me how it works with self.hide()? where I have to write it down and so on?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @fischi87
            last edited by

            @fischi87 add the one line, this.hide() shown below

                                // moved to here and changed return
                		if (this.config.hideWhenEmpty && this.tasks.items.length === 0) {
                                    this.hide()  // added hide to hide header too
                			return wrapper;
                		}
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              fischi87 @sdetweil
              last edited by

              @sdetweil

              It works thanks Sam

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy