Browse Source

✨ display graph right from the beginning

jmacura 3 năm trước cách đây
mục cha
commit
7a50a5cd41
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();
     });
   }