# Failed to remove icon from Deploy button

**URL:** https://discourse.nodered.org/t/failed-to-remove-icon-from-deploy-button/51614
**Category:** General
**Created:** [28 September 2021 10:40 UTC](https://discourse.nodered.org/t/failed-to-remove-icon-from-deploy-button/51614 "2021-09-28T10:40:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://discourse.nodered.org/u/Roman)
#### Post date: [28 September 2021 10:40 UTC](https://discourse.nodered.org/t/failed-to-remove-icon-from-deploy-button/51614/1 "2021-09-28T10:40:29Z")

</div>

I want to customize Deploy button in Node-RED editor using custom theme. I have set to null editorTheme.deployButton.icon in settings.js according to documentation but it did not work. Am I missing something?

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [28 September 2021 10:44 UTC](https://discourse.nodered.org/t/failed-to-remove-icon-from-deploy-button/51614/2 "2021-09-28T10:44:44Z")

</div>

You can't remove the icon, only replace it.

The code tests for the existence of that key (`editorTheme.deployButton.icon`) in the settings.js file, setting it to null is the same as not setting it so it will use the default image.

As a workaround you could include a 1x1 transparent png file and point to that.

---

<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: [12 October 2021 10:45 UTC](https://discourse.nodered.org/t/failed-to-remove-icon-from-deploy-button/51614/3 "2021-10-12T10:45:05Z")

</div>

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