mirror of https://github.com/node-red/node-red.git
Exporting current flow not formatting tab node correctly
parent
325c6135cf
commit
05cbba9a35
|
@ -430,6 +430,9 @@ RED.nodes = (function() {
|
|||
* Converts a node to an exportable JSON Object
|
||||
**/
|
||||
function convertNode(n, exportCreds) {
|
||||
if (n.type === 'tab') {
|
||||
return convertWorkspace(n);
|
||||
}
|
||||
exportCreds = exportCreds || false;
|
||||
var node = {};
|
||||
node.id = n.id;
|
||||
|
|
Loading…
Reference in New Issue