MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mmm-unknown
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 0

    mmm-unknown

    @mmm-unknown

    1
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    mmm-unknown Unfollow Follow

    Best posts made by mmm-unknown

    • RE: MMM-Rocketlaunch- image removal?

      I had the same idea. I added a boolean variable to disable outputting row 9.

      diff --git a/MMM-Rocketlaunch.js b/MMM-Rocketlaunch.js
      index c65b2c5..31f5faa 100644
      --- a/MMM-Rocketlaunch.js
      +++ b/MMM-Rocketlaunch.js
      @@ -25,6 +25,7 @@ Module.register('MMM-Rocketlaunch',{
                      apiParmVerbose: '&format=json',
                      missiondesc: true,
                      imggray: true,
      +               imgdisplay: true,
                      launches: "1",
       
                      statusTable: {
      @@ -229,7 +230,7 @@ Module.register('MMM-Rocketlaunch',{
                                      }
       
                                      // row 9
      -                               if (currentLaunche.image) {
      +                               if (currentLaunche.image && this.config.imgdisplay) {
       
                                      var row = document.createElement("tr");
                                      table.appendChild(row);
      
      
      posted in Troubleshooting
      M
      mmm-unknown

    Latest posts made by mmm-unknown

    • RE: MMM-Rocketlaunch- image removal?

      I had the same idea. I added a boolean variable to disable outputting row 9.

      diff --git a/MMM-Rocketlaunch.js b/MMM-Rocketlaunch.js
      index c65b2c5..31f5faa 100644
      --- a/MMM-Rocketlaunch.js
      +++ b/MMM-Rocketlaunch.js
      @@ -25,6 +25,7 @@ Module.register('MMM-Rocketlaunch',{
                      apiParmVerbose: '&format=json',
                      missiondesc: true,
                      imggray: true,
      +               imgdisplay: true,
                      launches: "1",
       
                      statusTable: {
      @@ -229,7 +230,7 @@ Module.register('MMM-Rocketlaunch',{
                                      }
       
                                      // row 9
      -                               if (currentLaunche.image) {
      +                               if (currentLaunche.image && this.config.imgdisplay) {
       
                                      var row = document.createElement("tr");
                                      table.appendChild(row);
      
      
      posted in Troubleshooting
      M
      mmm-unknown