diff --git a/app/index.html b/app/index.html
index f238411..b7391d2 100644
--- a/app/index.html
+++ b/app/index.html
@@ -1017,6 +1017,9 @@ async function init() {
try {
await loadConfig();
state.baseCurrency = CFG['currency-base'];
+ const p = defaultPeriod();
+ state.periodFrom = p.from;
+ state.periodTo = p.to;
state.items.push(newItem());
render();
} catch (e) {