By dashboard
you mean the flow editor or an UI accessible to end users?
I did a quick test within the editor but it's not a "one-click-solution". You could edit your flow-file (invert the disable properties of your two flows/tabs), save the file and then restart the flow(s) (plus pressing F5 to get the current version the browser)
Assuming that your two flows are at position 0 and 1 in the json:
[
{
"id": "738a7b23b17c223e",
"type": "inject",
"z": "8a896ddec2ead8be",
"name": "toggle",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payloadType": "date",
"x": 90,
"y": 80,
"wires": [
[
"030f1b4157a589ee"
]
]
},
{
"id": "030f1b4157a589ee",
"type": "file in",
"z": "8a896ddec2ead8be",
"name": "",
"filename": "yourflow.json",
"format": "utf8",
"chunk": false,
"sendError": false,
"encoding": "none",
"allProps": false,
"x": 250,
"y": 80,
"wires": [
[
"b411c80dddf5e107"
]
]
},
{
"id": "daec30f7e9113f1b",
"type": "function",
"z": "8a896ddec2ead8be",
"name": "",
"func": "\n\n// dirty\nmsg.payload[0].disabled = !msg.payload[0].disabled;\nmsg.payload[1].disabled = !msg.payload[1].disabled;\n\n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 560,
"y": 80,
"wires": [
[
"3b3f81aee4e7dbed"
]
]
},
{
"id": "b411c80dddf5e107",
"type": "json",
"z": "8a896ddec2ead8be",
"name": "",
"property": "payload",
"action": "",
"pretty": false,
"x": 410,
"y": 80,
"wires": [
[
"daec30f7e9113f1b"
]
]
},
{
"id": "54c855e9665cefe6",
"type": "file",
"z": "8a896ddec2ead8be",
"name": "",
"filename": "yourflow.json",
"appendNewline": true,
"createDir": false,
"overwriteFile": "true",
"encoding": "none",
"x": 830,
"y": 80,
"wires": [
[]
]
},
{
"id": "3b3f81aee4e7dbed",
"type": "json",
"z": "8a896ddec2ead8be",
"name": "",
"property": "payload",
"action": "str",
"pretty": false,
"x": 690,
"y": 80,
"wires": [
[
"54c855e9665cefe6"
]
]
}
]