Преглед на файлове

✨ display graph right from the beginning

jmacura преди 3 години
родител
ревизия
7a50a5cd41
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/app/graphs/year-graph/year-graph.component.ts

+ 2 - 0
src/app/graphs/year-graph/year-graph.component.ts

@@ -30,6 +30,8 @@ export class YearGraphComponent {
         ),
       ];
       console.log(this.regions);
+      this.selectedYear = this.firstYear;
+      this.redrawGraphs();
     });
   }