Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Configuration badge (notification) are repeated on all new items #17

Open
samboman opened this issue Dec 15, 2022 · 3 comments
Open

Configuration badge (notification) are repeated on all new items #17

samboman opened this issue Dec 15, 2022 · 3 comments

Comments

@samboman
Copy link

The badge from the Settings-menu are repeated to all new_item's in sidebar-order.json.
image

In my case Settings is the place where the badge displaying 3 shall be.
This is how it looks if I remove everything in sidebar-order.json:
image

my sidebar-order.json:

  "order": [
    {
      "new_item": true,
      "item": "Automations",
      "href": "/config/automation",
      "icon": "mdi:home-automation",
      "order": 1,
      "bottom" : true
    },
    {
      "new_item": true,
      "item": "Integrations",
      "href": "/config/integrations",
      "icon": "mdi:puzzle",
      "order": 2,
      "bottom" : true
    },
    {
      "item": "HACS",
      "order": 3,
      "bottom" : true
    },
    {
      "new_item": true,
      "item": "Z-Wave JS UI",
      "href": "http://example.com:8091/",
      "icon": "mdi:z-wave",
      "target": "_blank",
      "order": 4,
      "bottom" : true
    },
    {
      "item": "Developer Tools",
      "order": 5,
      "bottom" : true
    },
    {
      "item": "Settings",
      "order": 6,
      "bottom" : true
    }
  ]
}```
@DanDixon
Copy link

DanDixon commented Dec 17, 2022

FYI, I'm also seeing this same problem

And thanks for making this. This was exactly what I was looking for. I'd spent a bunch of time reordering the sidebar only to discover it's local and then the order got wiped out when I cleared my browser cache.

@n00bcodr
Copy link

There already is an open issue on the same (I updated the title now), this has been there since way back. #9

@ianwitherow
Copy link

Posted my fix in #9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants