Skip to content

Commit

Permalink
Fix #161
Browse files Browse the repository at this point in the history
  • Loading branch information
spelhate committed Apr 21, 2022
1 parent 401a26a commit c165169
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/static/js/wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit c165169

Please sign in to comment.