Skip to content

Commit

Permalink
fix: Unify close button behaviour
Browse files Browse the repository at this point in the history
Signed-off-by: 1998-felix <[email protected]>
  • Loading branch information
felixgateru committed Mar 20, 2024
1 parent b36f2c9 commit e6e6f1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/web/templates/charts/horizontalbarchartmodal.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h5 class="modal-title" id="horizontalBarChartModalLabel">Horizontal Bar Chart</
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
onclick="resetForm();"
aria-label="Close"
></button>
</div>
Expand Down Expand Up @@ -222,7 +222,7 @@ <h5>Data Source</h5>
case "startTime":
case "stopTime":
const inputDate = new Date(pair[1]);
chartData[pair[0]] = inputDate.getTime() * 1e6;
chartData[pair[0]] = inputDate.getTime();
break;
case "channel":
channels.push(pair[1]);
Expand Down

0 comments on commit e6e6f1e

Please sign in to comment.