# Possible bug ( UI dashboard switch node or function switch Node)

**URL:** https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043
**Category:** General
**Tags:** node-red-dashboard, function-node
**Created:** [9 February 2022 18:01 UTC](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043 "2022-02-09T18:01:39Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [11 February 2022 16:09 UTC](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043/21 "2022-02-11T16:09:19Z")

</div>

@Colin I posted on the Github issue page a case that it happens to me and that I could replicate every time .. and thats is when i use the undo (Ctrl-Z). I posted an animated gif showing how to test.

Node-RED version: v2.2.0  
Node.js version: v14.18.2  
Windows 10  
tested both Firefox and Chrome.

---

<div class="post-metadata">

### Author: ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)
#### Post date: [11 February 2022 16:15 UTC](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043/22 "2022-02-11T16:15:41Z")

</div>

Yes, now, I could replicate it too. by Ctrl-Z between two deploys

Node-RED v2.2.0  
Node.js version: v14.17.0  
Windows 10  
Google Chrome

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 February 2022 16:23 UTC](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043/23 "2022-02-11T16:23:48Z")

</div>

OK, I didn't realise that you had found a fully repeatable method. Excellent work.  
I thought you meant that you thought it was something to do with that but it was not repeatable.

---

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [11 February 2022 16:29 UTC](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043/24 "2022-02-11T16:29:32Z")

</div>

hehe .. my wording was a bit confusing .. i meant it happened to me a few days ago but i didnt report it _sooner_ because i couldnt replicate it. Now that more people saw it also i tested a bit more and managed to find a case. (edited my post on github to explain more clearly)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [11 February 2022 17:05 UTC](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043/25 "2022-02-11T17:05:53Z")

</div>

> [@UnborN](#):
>
> edited my post on github to explain more clearly

That explains why, when I looked at it again a minute ago, I could not see why I was confused. 🙂

[Previous page](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043.md?page=1)
