diff --git a/node-red/flows_js/function.54e1210917dfa5ae.flows.js b/node-red/flows_js/function.54e1210917dfa5ae.flows.js index b39a5b9a..8b217759 100644 --- a/node-red/flows_js/function.54e1210917dfa5ae.flows.js +++ b/node-red/flows_js/function.54e1210917dfa5ae.flows.js @@ -21,7 +21,7 @@ const Node = { } Node.func = async function (node, msg, RED, context, flow, global, env, util) { - let data = global.get("configs").initialData.bankAccounts ? global.get("configs").initialData.bankAccounts : global.get("bankAccounts"); + let data = global.get("configs").initialData ? global.get("configs").initialData.bankAccounts : global.get("bankAccounts"); if (Array.isArray(data) && data.length > 0) { // Get the keys from the first object to use as column names diff --git a/node-red/flows_js/function.bf529f85a6bed9d9.flows.js b/node-red/flows_js/function.bf529f85a6bed9d9.flows.js index 236040fb..7086bef1 100644 --- a/node-red/flows_js/function.bf529f85a6bed9d9.flows.js +++ b/node-red/flows_js/function.bf529f85a6bed9d9.flows.js @@ -21,7 +21,7 @@ const Node = { } Node.func = async function (node, msg, RED, context, flow, global, env, util) { - let data = global.get("configs").initialData.masterData ? global.get("configs").initialData.masterData : global.get("masterData"); + let data = global.get("configs").initialData ? global.get("configs").initialData.masterData : global.get("masterData"); let formattedData = []; formattedData.push(data); diff --git a/node-red/flows_js/group.09ae44d941f2b3ed.flows.js b/node-red/flows_js/group.09ae44d941f2b3ed.flows.js index 2e722c97..4cc98b17 100644 --- a/node-red/flows_js/group.09ae44d941f2b3ed.flows.js +++ b/node-red/flows_js/group.09ae44d941f2b3ed.flows.js @@ -21,9 +21,7 @@ const Node = { "2eb27ff524e9b6b4" ], "x": 374, - "y": 139, - "w": 452, - "h": 122 + "y": 139 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.0bbde93deecce205.flows.js b/node-red/flows_js/group.0bbde93deecce205.flows.js index 2568a730..dfef4ee3 100644 --- a/node-red/flows_js/group.0bbde93deecce205.flows.js +++ b/node-red/flows_js/group.0bbde93deecce205.flows.js @@ -17,9 +17,7 @@ const Node = { "525da4a6c72ca2a1" ], "x": 24, - "y": 999, - "w": 232, - "h": 82 + "y": 999 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.1b0a88a05194f18e.flows.js b/node-red/flows_js/group.1b0a88a05194f18e.flows.js index 8a3ed23f..3c7a3aa4 100644 --- a/node-red/flows_js/group.1b0a88a05194f18e.flows.js +++ b/node-red/flows_js/group.1b0a88a05194f18e.flows.js @@ -27,9 +27,7 @@ const Node = { "f6c011e673f82d19" ], "x": 14, - "y": 119, - "w": 512, - "h": 242 + "y": 119 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.1c9d2e5a1088096c.flows.js b/node-red/flows_js/group.1c9d2e5a1088096c.flows.js index dfd27ec9..b1003a52 100644 --- a/node-red/flows_js/group.1c9d2e5a1088096c.flows.js +++ b/node-red/flows_js/group.1c9d2e5a1088096c.flows.js @@ -19,9 +19,7 @@ const Node = { "bb072cb72c297215" ], "x": 24, - "y": 439, - "w": 282, - "h": 122 + "y": 439 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.202a6b173abfc606.flows.js b/node-red/flows_js/group.202a6b173abfc606.flows.js index 9373ab3f..67f82945 100644 --- a/node-red/flows_js/group.202a6b173abfc606.flows.js +++ b/node-red/flows_js/group.202a6b173abfc606.flows.js @@ -18,9 +18,7 @@ const Node = { "a3d89dc03536f2fb" ], "x": 24, - "y": 579, - "w": 232, - "h": 122 + "y": 579 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.23bc0870886393ea.flows.js b/node-red/flows_js/group.23bc0870886393ea.flows.js index 5855de10..4328d3de 100644 --- a/node-red/flows_js/group.23bc0870886393ea.flows.js +++ b/node-red/flows_js/group.23bc0870886393ea.flows.js @@ -19,9 +19,7 @@ const Node = { "4bbfbea153481518" ], "x": 24, - "y": 159, - "w": 282, - "h": 122 + "y": 159 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.3bc210a9c1e58a78.flows.js b/node-red/flows_js/group.3bc210a9c1e58a78.flows.js index d50dc6dd..1b6883f2 100644 --- a/node-red/flows_js/group.3bc210a9c1e58a78.flows.js +++ b/node-red/flows_js/group.3bc210a9c1e58a78.flows.js @@ -16,9 +16,7 @@ const Node = { "90beb0a595b2a03e" ], "x": 24, - "y": 299, - "w": 182, - "h": 82 + "y": 299 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.4169783d237ba908.flows.js b/node-red/flows_js/group.4169783d237ba908.flows.js index 7b8190f2..418c9c13 100644 --- a/node-red/flows_js/group.4169783d237ba908.flows.js +++ b/node-red/flows_js/group.4169783d237ba908.flows.js @@ -34,9 +34,7 @@ const Node = { "8c6a11b0793c4d75" ], "x": 14, - "y": 379, - "w": 422, - "h": 242 + "y": 379 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.46c70bcd77ca965a.flows.js b/node-red/flows_js/group.46c70bcd77ca965a.flows.js index 218aefd3..377a51f8 100644 --- a/node-red/flows_js/group.46c70bcd77ca965a.flows.js +++ b/node-red/flows_js/group.46c70bcd77ca965a.flows.js @@ -20,9 +20,7 @@ const Node = { "48ce31279c408079" ], "x": 24, - "y": 119, - "w": 372, - "h": 102 + "y": 119 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.54195acebfd77c6b.flows.js b/node-red/flows_js/group.54195acebfd77c6b.flows.js index fdd77493..84593591 100644 --- a/node-red/flows_js/group.54195acebfd77c6b.flows.js +++ b/node-red/flows_js/group.54195acebfd77c6b.flows.js @@ -25,9 +25,7 @@ const Node = { "3183105c3c193643" ], "x": 534, - "y": 119, - "w": 572, - "h": 202 + "y": 119 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.622bd279325fcb5d.flows.js b/node-red/flows_js/group.622bd279325fcb5d.flows.js index fd715453..8aebbae1 100644 --- a/node-red/flows_js/group.622bd279325fcb5d.flows.js +++ b/node-red/flows_js/group.622bd279325fcb5d.flows.js @@ -18,9 +18,7 @@ const Node = { "a5cfbbb818eb14ba" ], "x": 24, - "y": 19, - "w": 232, - "h": 122 + "y": 19 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.85a5e54522cd21cc.flows.js b/node-red/flows_js/group.85a5e54522cd21cc.flows.js index 2a4923a3..7fef4ad0 100644 --- a/node-red/flows_js/group.85a5e54522cd21cc.flows.js +++ b/node-red/flows_js/group.85a5e54522cd21cc.flows.js @@ -18,9 +18,7 @@ const Node = { "65f046502a4e5edd" ], "x": 24, - "y": 719, - "w": 302, - "h": 82 + "y": 719 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.88a5a801e4bf7e08.flows.js b/node-red/flows_js/group.88a5a801e4bf7e08.flows.js index 0dfb2e01..c20c906c 100644 --- a/node-red/flows_js/group.88a5a801e4bf7e08.flows.js +++ b/node-red/flows_js/group.88a5a801e4bf7e08.flows.js @@ -23,9 +23,7 @@ const Node = { "b18d8a5195c23c7a" ], "x": 14, - "y": 919, - "w": 422, - "h": 162 + "y": 919 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.890c3ba363dc8910.flows.js b/node-red/flows_js/group.890c3ba363dc8910.flows.js index c85483ef..f9e32b02 100644 --- a/node-red/flows_js/group.890c3ba363dc8910.flows.js +++ b/node-red/flows_js/group.890c3ba363dc8910.flows.js @@ -20,9 +20,7 @@ const Node = { "68b5498b43dcab49" ], "x": 14, - "y": 779, - "w": 422, - "h": 122 + "y": 779 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.9707809d7fe4863a.flows.js b/node-red/flows_js/group.9707809d7fe4863a.flows.js index cf1b58c8..09d9a611 100644 --- a/node-red/flows_js/group.9707809d7fe4863a.flows.js +++ b/node-red/flows_js/group.9707809d7fe4863a.flows.js @@ -23,9 +23,7 @@ const Node = { "6668cc6605749844" ], "x": 24, - "y": 399, - "w": 282, - "h": 162 + "y": 399 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.9b2beb35be5bbb31.flows.js b/node-red/flows_js/group.9b2beb35be5bbb31.flows.js index 5d958052..7e794a3f 100644 --- a/node-red/flows_js/group.9b2beb35be5bbb31.flows.js +++ b/node-red/flows_js/group.9b2beb35be5bbb31.flows.js @@ -19,9 +19,7 @@ const Node = { "fb8258ed932b96d7" ], "x": 24, - "y": 159, - "w": 302, - "h": 122 + "y": 159 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.9f0acbcfa0581c4a.flows.js b/node-red/flows_js/group.9f0acbcfa0581c4a.flows.js index c48cf271..a1c538f7 100644 --- a/node-red/flows_js/group.9f0acbcfa0581c4a.flows.js +++ b/node-red/flows_js/group.9f0acbcfa0581c4a.flows.js @@ -19,9 +19,7 @@ const Node = { "2efd9544f1a97947" ], "x": 24, - "y": 579, - "w": 282, - "h": 122 + "y": 579 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.ae22b3761b2b50b0.flows.js b/node-red/flows_js/group.ae22b3761b2b50b0.flows.js index 2e19244f..d27d97b1 100644 --- a/node-red/flows_js/group.ae22b3761b2b50b0.flows.js +++ b/node-red/flows_js/group.ae22b3761b2b50b0.flows.js @@ -15,9 +15,7 @@ const Node = { "552ec9b596b1a2a4" ], "x": 284, - "y": 19, - "w": 152, - "h": 82 + "y": 19 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.af45fb910a71600f.flows.js b/node-red/flows_js/group.af45fb910a71600f.flows.js index f98b0e8a..045d8c1a 100644 --- a/node-red/flows_js/group.af45fb910a71600f.flows.js +++ b/node-red/flows_js/group.af45fb910a71600f.flows.js @@ -19,9 +19,7 @@ const Node = { "502bdf88354d036b" ], "x": 24, - "y": 859, - "w": 232, - "h": 122 + "y": 859 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.b8fbf4f960a90422.flows.js b/node-red/flows_js/group.b8fbf4f960a90422.flows.js index 229ad93f..7da857d2 100644 --- a/node-red/flows_js/group.b8fbf4f960a90422.flows.js +++ b/node-red/flows_js/group.b8fbf4f960a90422.flows.js @@ -19,9 +19,7 @@ const Node = { "2320b1b44e0b7a58" ], "x": 374, - "y": 239, - "w": 452, - "h": 82 + "y": 239 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.be3c4fb5b3ea916b.flows.js b/node-red/flows_js/group.be3c4fb5b3ea916b.flows.js index c75d2d6e..71ce5d05 100644 --- a/node-red/flows_js/group.be3c4fb5b3ea916b.flows.js +++ b/node-red/flows_js/group.be3c4fb5b3ea916b.flows.js @@ -24,9 +24,7 @@ const Node = { "a1f41777ba5459a4" ], "x": 384, - "y": 259, - "w": 622, - "h": 122 + "y": 259 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.c0daad82a0a61571.flows.js b/node-red/flows_js/group.c0daad82a0a61571.flows.js index 77b787ec..4547fe8e 100644 --- a/node-red/flows_js/group.c0daad82a0a61571.flows.js +++ b/node-red/flows_js/group.c0daad82a0a61571.flows.js @@ -16,9 +16,7 @@ const Node = { "c85ba2f69453a4f2" ], "x": 14, - "y": 19, - "w": 182, - "h": 82 + "y": 19 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.c9e7ab8a728c987d.flows.js b/node-red/flows_js/group.c9e7ab8a728c987d.flows.js index d7ea9963..d82c884a 100644 --- a/node-red/flows_js/group.c9e7ab8a728c987d.flows.js +++ b/node-red/flows_js/group.c9e7ab8a728c987d.flows.js @@ -18,9 +18,7 @@ const Node = { "d564e1258605dc5d" ], "x": 24, - "y": 299, - "w": 282, - "h": 122 + "y": 299 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.d35c0446ba72295e.flows.js b/node-red/flows_js/group.d35c0446ba72295e.flows.js index b9b5d84f..980e8ad1 100644 --- a/node-red/flows_js/group.d35c0446ba72295e.flows.js +++ b/node-red/flows_js/group.d35c0446ba72295e.flows.js @@ -46,9 +46,7 @@ const Node = { "0c5b3ed5962e2e9d" ], "x": 384, - "y": 39, - "w": 622, - "h": 222 + "y": 39 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.dc3f1bccec7ebeb1.flows.js b/node-red/flows_js/group.dc3f1bccec7ebeb1.flows.js index f5ee9856..99231f80 100644 --- a/node-red/flows_js/group.dc3f1bccec7ebeb1.flows.js +++ b/node-red/flows_js/group.dc3f1bccec7ebeb1.flows.js @@ -18,9 +18,7 @@ const Node = { "167217baaa7d871c" ], "x": 24, - "y": 719, - "w": 232, - "h": 122 + "y": 719 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.df63c06875dd2885.flows.js b/node-red/flows_js/group.df63c06875dd2885.flows.js index 76258103..133c3dd4 100644 --- a/node-red/flows_js/group.df63c06875dd2885.flows.js +++ b/node-red/flows_js/group.df63c06875dd2885.flows.js @@ -21,9 +21,7 @@ const Node = { "35d2ec5fa312d14e" ], "x": 24, - "y": 819, - "w": 152, - "h": 202 + "y": 819 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.e3e2711444434a5d.flows.js b/node-red/flows_js/group.e3e2711444434a5d.flows.js index b1f82a87..6d13535b 100644 --- a/node-red/flows_js/group.e3e2711444434a5d.flows.js +++ b/node-red/flows_js/group.e3e2711444434a5d.flows.js @@ -15,9 +15,7 @@ const Node = { "ec337365d3e6e9e5" ], "x": 404, - "y": 119, - "w": 152, - "h": 82 + "y": 119 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.e5bb48e62cb30a3b.flows.js b/node-red/flows_js/group.e5bb48e62cb30a3b.flows.js index 36f2b8dd..76260a2d 100644 --- a/node-red/flows_js/group.e5bb48e62cb30a3b.flows.js +++ b/node-red/flows_js/group.e5bb48e62cb30a3b.flows.js @@ -20,9 +20,7 @@ const Node = { "98db2fbe0e901132" ], "x": 14, - "y": 639, - "w": 422, - "h": 122 + "y": 639 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.e5ed88aeaeb05808.flows.js b/node-red/flows_js/group.e5ed88aeaeb05808.flows.js index 01140f40..4cd94eef 100644 --- a/node-red/flows_js/group.e5ed88aeaeb05808.flows.js +++ b/node-red/flows_js/group.e5ed88aeaeb05808.flows.js @@ -17,9 +17,7 @@ const Node = { "0ffcf770d37caf8e" ], "x": 24, - "y": 19, - "w": 252, - "h": 82 + "y": 19 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.ea1bf65dfedc00a0.flows.js b/node-red/flows_js/group.ea1bf65dfedc00a0.flows.js index 7dbbfc0b..93f99f76 100644 --- a/node-red/flows_js/group.ea1bf65dfedc00a0.flows.js +++ b/node-red/flows_js/group.ea1bf65dfedc00a0.flows.js @@ -21,9 +21,7 @@ const Node = { "d0b4f25aa6dd9eda" ], "x": 24, - "y": 1099, - "w": 282, - "h": 122 + "y": 1099 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.ee31b70d7b508c0d.flows.js b/node-red/flows_js/group.ee31b70d7b508c0d.flows.js index 71ee3ea8..59779838 100644 --- a/node-red/flows_js/group.ee31b70d7b508c0d.flows.js +++ b/node-red/flows_js/group.ee31b70d7b508c0d.flows.js @@ -17,9 +17,7 @@ const Node = { "8af7ed2082372bf7" ], "x": 24, - "y": 19, - "w": 202, - "h": 122 + "y": 19 } module.exports = Node; \ No newline at end of file diff --git a/node-red/flows_js/group.fafde89af20cbe51.flows.js b/node-red/flows_js/group.fafde89af20cbe51.flows.js index 9d038c10..47901eb1 100644 --- a/node-red/flows_js/group.fafde89af20cbe51.flows.js +++ b/node-red/flows_js/group.fafde89af20cbe51.flows.js @@ -19,9 +19,7 @@ const Node = { "588edafd604283f6" ], "x": 374, - "y": 39, - "w": 452, - "h": 122 + "y": 39 } module.exports = Node; \ No newline at end of file