When I have a locked flow open and I click on the FlowFuse assistant to create a function node for example "return hello world". It generates a node but it shouldn't do that because the Flow is locked. When I switch to another flow and back to the Flow where I ask the assistant. It has placed a function node at the left upper corner and there is a blue dot at the locked flow. Lucky it doesn't allow you to Deploy.
Expected Behavior
Disable the assistant button when a Flow is locked.
Current Behavior
When I have a locked flow open and I click on the FlowFuse assistant to create a function node for example "return hello world". It generates a node but it shouldn't do that because the Flow is locked. When I switch to another flow and back to the Flow where I ask the assistant. It has placed a function node at the left upper corner and there is a blue dot at the locked flow. Lucky it doesn't allow you to Deploy.
Expected Behavior
Disable the assistant button when a Flow is locked.
Steps To Reproduce
Environment
Type: Small / Node-RED 4.0.2 Template : Default v1 Node-RED Version: 4.0.2 Launcher Version: 2.6.0 Node.js Version: 20.15.0 Browser: Brave Version 1.67.123 Chromium: 126.0.6478.126 (Official Build) (64-bit)
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate