Commit d26f2283 authored by JocelynD's avatar JocelynD

Ré-écrit l'URL également au chargement de la page

parent f321b24a
......@@ -178,6 +178,10 @@ let CURRENT_MONTH = new Month(
);
let url = new MonthURLManager();
if (! url.getMonth()) {
url.setMonth(CURRENT_MONTH);
}
let vm = new Vue({
el: '#app',
......@@ -186,7 +190,7 @@ let vm = new Vue({
years: YEARS,
selectedYear: null,
selectedMonth: null,
month: url.getMonth() || CURRENT_MONTH,
month: url.getMonth(),
subscriptionsCounts: [],
subscriptionsDeltas: {},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment