diff --git a/src/admin-dashboard.js b/src/admin-dashboard.js
index 979a008..2780e16 100644
--- a/src/admin-dashboard.js
+++ b/src/admin-dashboard.js
@@ -488,6 +488,7 @@ ${buildHeader({ role: role, userName: user.nome, activePage: 'dashboard' })}
Periodo:
+
@@ -555,7 +556,10 @@ let charts = {};
function getPresetDates(preset) {
const now = new Date();
let inicio, fim;
- if (preset === 'thisMonth') {
+ if (preset === 'hoje') {
+ inicio = now;
+ fim = now;
+ } else if (preset === 'thisMonth') {
inicio = new Date(now.getFullYear(), now.getMonth(), 1);
fim = now;
} else if (preset === 'lastMonth') {