# Dashboard reload issue with logo's

**URL:** <https://discourse.nodered.org/t/dashboard-reload-issue-with-logos/87526>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [26 April 2024 16:47 UTC](https://discourse.nodered.org/t/dashboard-reload-issue-with-logos/87526 "2024-04-26T16:47:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asad.Khan](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Asad.Khan](https://discourse.nodered.org/u/Asad.Khan)\
**Post date:** [26 April 2024 16:47 UTC](https://discourse.nodered.org/t/dashboard-reload-issue-with-logos/87526/1 "2024-04-26T16:47:38Z")

</div>

Hy! I am facing an issue with my node-red flow that is displaying logos.

The code should display 4 logos like that

 ![savelogo1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5c64e3fc86e03e929576de5b263566a3c495971e.png)

However when i make change to the node-red flow and deploy the changes the logos are displayed like that. It show logos is small font and duplicate them.

 ![savelogo2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/f/cf8d3a90b9f11510e66c27b89e7afba63990ee4b.png)

If i reload the dashboard then the logos are displayed fine again.

How can i fix this issue without reloading node-red dashboard

Here is the flow

[flows (9).json](https://discourse.nodered.org/uploads/short-url/cTEfyCQJHCSgnnmjPLx6atXQbiW.json) (4.2 KB)

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [27 April 2024 05:05 UTC](https://discourse.nodered.org/t/dashboard-reload-issue-with-logos/87526/2 "2024-04-27T05:05:28Z")

</div>

I haven't loaded your flow, but I assume you have a template which adds the icons. It looks like you are adding them each time the template gets run.

I would suggest making sure that each icon has a unique id then in your script check to see if it exists before adding it e.g.

```auto
const myIcon = document.getElementById("my-icon");
if(!myIcon) {
  add the icon with the id "my-icon" here .... 
}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 May 2024 05:06 UTC](https://discourse.nodered.org/t/dashboard-reload-issue-with-logos/87526/3 "2024-05-27T05:06:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
