Skip to content

Commit

Permalink
Merge pull request #52 from chienniman/fix/kpi
Browse files Browse the repository at this point in the history
Fix/kpi
  • Loading branch information
chienniman authored Jul 6, 2024
2 parents c8d98f4 + 66b768d commit 5971896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions components/actionButtons/dailySummary.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { button } from "../shared/buttons/button.js";
import { getData } from "../../utils/dataProcessing.js";
import { checkDailyKpi } from "../../utils/checkers/checkFileInputs.js";

$(document).ready(function () {
$(".top-row").append(
Expand All @@ -12,7 +11,7 @@ $(document).ready(function () {
);

$("#dailySummary").on("click", async function () {
if (!checkDailyKpi()) return;
if (!getData("summaryData")) return;

function generateSummary() {
const visitedAreas = getData("visitedAreas");
Expand Down
2 changes: 1 addition & 1 deletion dist/components/actionButtons/dailySummary.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5971896

Please sign in to comment.