From 5e36f0e929ddef673cbe6daa0586b6c5b7e57828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1n=20D=C3=A9nes?= Date: Mon, 15 Mar 2021 17:40:08 +0100 Subject: [PATCH] Propagate point visualization to the webui --- src/ergogen.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ergogen.js b/src/ergogen.js index 09479a7..b14fa87 100644 --- a/src/ergogen.js +++ b/src/ergogen.js @@ -19,7 +19,6 @@ module.exports = { const [points, units] = points_lib.parse(config.points) if (debug) { results.points = { - demo: points_lib.visualize(points), data: points, units: units } @@ -50,5 +49,6 @@ module.exports = { } return results - } + }, + visualize: points_lib.visualize } \ No newline at end of file