1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

View File

@ -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;