From c165169f49df92f5d29c897bb9ff81338731e2ba Mon Sep 17 00:00:00 2001 From: spelhate Date: Thu, 21 Apr 2022 12:21:40 +0000 Subject: [PATCH] Fix #161 --- frontend/static/js/wizard.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/static/js/wizard.js b/frontend/static/js/wizard.js index 596cd80..b9171e8 100644 --- a/frontend/static/js/wizard.js +++ b/frontend/static/js/wizard.js @@ -222,11 +222,12 @@ wizard = (function () { } // Many datasets => table, chart if (dataset_nb > 1) { - options.push(["table", "fas fa-table"]); + options.push(["chart", "fas fa-table"]); if (significative_label) { - options.push(["chart", "fas fa-chart-bar"]); + options.push(["table", "fas fa-chart-bar"]); } } else { + //One dataset only if (data_nb === 1) { // 1 dataset une seule ligne => figure, text, iframe, image if (data_type === "text") {