Exporting current flow not formatting tab node correctly

This commit is contained in:
Nick O'Leary 2016-10-11 21:34:52 +01:00
parent 325c6135cf
commit 05cbba9a35
1 changed files with 3 additions and 0 deletions

View File

@ -430,6 +430,9 @@ RED.nodes = (function() {
* Converts a node to an exportable JSON Object * Converts a node to an exportable JSON Object
**/ **/
function convertNode(n, exportCreds) { function convertNode(n, exportCreds) {
if (n.type === 'tab') {
return convertWorkspace(n);
}
exportCreds = exportCreds || false; exportCreds = exportCreds || false;
var node = {}; var node = {};
node.id = n.id; node.id = n.id;